Home
last modified time | relevance | path

Searched refs:ContainsIndex (Results 1 – 6 of 6) sorted by relevance

/external/chromium/chrome/browser/tabs/
Dtab_strip_model.cc104 bool TabStripModel::ContainsIndex(int index) const { in ContainsIndex() function in TabStripModel
170 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 …]
Dtab_strip_model.h159 bool ContainsIndex(int index) const;
Dtab_strip_model_unittest.cc417 EXPECT_FALSE(tabstrip.ContainsIndex(0)); in TEST_F()
419 EXPECT_TRUE(tabstrip.ContainsIndex(0)); in TEST_F()
/external/chromium/chrome/browser/ui/views/tabs/
Dbrowser_tab_strip_controller.cc162 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()
/external/chromium/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc946 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()
/external/chromium/chrome/browser/ui/cocoa/tabs/
Dtab_strip_controller.mm698 if (tabStripModel_->ContainsIndex(index))
711 if (!tabStripModel_->ContainsIndex(index))
758 if (tabStripModel_->ContainsIndex(index))
767 if (!tabStripModel_->ContainsIndex(index))
1103 tabStripModel_->ContainsIndex(modelIndex));