Searched refs:ContainsIndex (Results 1 – 6 of 6) sorted by relevance
104 bool TabStripModel::ContainsIndex(int index) const { in ContainsIndex() function in TabStripModel170 DCHECK(ContainsIndex(index)); in ReplaceTabContentsAt()206 DCHECK(ContainsIndex(index)); in DetachTabContentsAt()244 DCHECK(ContainsIndex(index)); in ActivateTabAt()265 DCHECK(ContainsIndex(index)); in MoveTabContentsAt()318 if (ContainsIndex(index)) in GetTabContentsAt()357 DCHECK(ContainsIndex(index)); in UpdateTabContentsStateAt()390 DCHECK(ContainsIndex(index)); in GetOpenerOfTabContentsAt()397 DCHECK(ContainsIndex(start_index)); in GetIndexOfNextTabContentsOpenedBy()416 DCHECK(ContainsIndex(start_index)); in GetIndexOfFirstTabContentsOpenedBy()[all …]
159 bool ContainsIndex(int index) const;
417 EXPECT_FALSE(tabstrip.ContainsIndex(0)); in TEST_F()419 EXPECT_TRUE(tabstrip.ContainsIndex(0)); in TEST_F()
162 return model_->ContainsIndex(model_index) ? in IsCommandEnabledForTab()170 return model_->ContainsIndex(model_index) ? in IsCommandCheckedForTab()178 if (model_->ContainsIndex(model_index)) in ExecuteCommandForTab()191 return model_->ContainsIndex(index); in IsValidIndex()203 return model_->ContainsIndex(model_index) && model_->IsTabPinned(model_index); in IsTabPinned()207 return !model_->ContainsIndex(model_index) || in IsTabCloseable()212 return model_->ContainsIndex(model_index) && in IsNewTabPage()254 if (model_->ContainsIndex(model_index)) { in UpdateLoadingAnimations()307 model_->ContainsIndex(model_index)); in TabInsertedAt()
946 DCHECK(index == TabStripModel::kNoTab || model_->ContainsIndex(index)); in TabInsertedAt()1123 if (model_->ContainsIndex(index)) in SelectTab()1129 if (model_->ContainsIndex(tab_index)) { in CloseTab()1149 if (model_->ContainsIndex(index)) in IsCommandEnabledForTab()1157 if (model_->ContainsIndex(index)) in ExecuteCommandForTab()
698 if (tabStripModel_->ContainsIndex(index))711 if (!tabStripModel_->ContainsIndex(index))758 if (tabStripModel_->ContainsIndex(index))767 if (!tabStripModel_->ContainsIndex(index))1103 tabStripModel_->ContainsIndex(modelIndex));