Home
last modified time | relevance | path

Searched refs:IsValidModelIndex (Results 1 – 3 of 3) sorted by relevance

/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip.cc870 bool TabStrip::IsValidModelIndex(int model_index) const { in IsValidModelIndex() function in TabStrip
970 if (IsValidModelIndex(model_index)) in SelectTab()
976 if (IsValidModelIndex(model_index)) in ExtendSelectionTo()
982 if (IsValidModelIndex(model_index)) in ToggleSelected()
988 if (IsValidModelIndex(model_index)) in AddSelectionFromAnchorTo()
1003 if (IsValidModelIndex(model_index)) in CloseTab()
1009 if (IsValidModelIndex(model_index)) in ToggleTabAudioMute()
1021 return IsValidModelIndex(model_index) && in IsActiveTab()
1027 return IsValidModelIndex(model_index) && in IsTabSelected()
1036 return IsValidModelIndex(model_index) && in IsTabPinned()
[all …]
Dtab_strip_unittest.cc176 TEST_F(TabStripTest, IsValidModelIndex) { in TEST_F() argument
177 EXPECT_FALSE(tab_strip_->IsValidModelIndex(0)); in TEST_F()
Dtab_strip.h167 bool IsValidModelIndex(int model_index) const;