Searched refs:IsValidModelIndex (Results 1 – 3 of 3) sorted by relevance
870 bool TabStrip::IsValidModelIndex(int model_index) const { in IsValidModelIndex() function in TabStrip970 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 …]
176 TEST_F(TabStripTest, IsValidModelIndex) { in TEST_F() argument177 EXPECT_FALSE(tab_strip_->IsValidModelIndex(0)); in TEST_F()
167 bool IsValidModelIndex(int model_index) const;