Home
last modified time | relevance | path

Searched refs:tabstrip_model (Results 1 – 25 of 41) sorted by relevance

12

/external/chromium/chrome/browser/chromeos/
Dtab_closeable_state_watcher.cc27 browser_->tabstrip_model()->AddObserver(this); in TabStripWatcher()
31 browser_->tabstrip_model()->RemoveObserver(this); in ~TabStripWatcher()
199 TabStripModel* tabstrip_model = browser_to_check->tabstrip_model(); in CheckAndUpdateState() local
200 if (tabstrip_model->count() == 1) { in CheckAndUpdateState()
202 tabstrip_model->GetTabContentsAt(0)->tab_contents()->GetURL() != in CheckAndUpdateState()
Dtab_closeable_state_watcher_browsertest.cc48 return browser->tabstrip_model()->delegate()->CanCloseTab(); in CanCloseTab()
97 browser_->tabstrip_model()->AddObserver(this); in NewTabObserver()
101 browser_->tabstrip_model()->RemoveObserver(this); in ~NewTabObserver()
156 browser()->tabstrip_model()->CloseTabContentsAt(0, in IN_PROC_BROWSER_TEST_F()
Dwm_overview_controller.cc88 int count() const { return browser_->tabstrip_model()->count(); } in count()
129 return browser_->tabstrip_model()->GetTabContentsAt(index)->tab_contents(); in GetTabContentsAt()
194 browser_->tabstrip_model()->AddObserver(this); in BrowserListener()
203 browser_->tabstrip_model()->RemoveObserver(this); in ~BrowserListener()
/external/chromium/chrome/browser/debugger/
Ddevtools_window.cc150 TabStripModel* tabstrip_model = inspected_browser->tabstrip_model(); in Show() local
151 tabstrip_model->ActivateTabAt(inspected_tab_index, true); in Show()
200 TabStripModel* tabstrip_model = browser_->tabstrip_model(); in SetDocked() local
201 tabstrip_model->DetachTabContentsAt( in SetDocked()
202 tabstrip_model->GetIndexOfTabContents(tab_contents_)); in SetDocked()
244 browser_->tabstrip_model()->AddTabContents( in CreateDevToolsBrowser()
Dbrowser_list_tabcontents_provider.cc15 TabStripModel* model = (*it)->tabstrip_model(); in GetInspectableTabs()
Dinspectable_tab_proxy.cc78 TabStripModel* model = (*it)->tabstrip_model(); in controllers_map()
/external/chromium/chrome/browser/ui/cocoa/
Dtabpose_window_unittest.mm27 browser_helper_.browser()->tabstrip_model()->AppendTabContents(
52 tabStripModel:browser_helper_.browser()->tabstrip_model()];
74 tabStripModel:browser_helper_.browser()->tabstrip_model()];
77 TabStripModel* model = browser_helper_.browser()->tabstrip_model();
/external/chromium/chrome/browser/ui/cocoa/bookmarks/
Dbookmark_all_tabs_controller.mm45 TabStripModel* tabstrip_model = browser->tabstrip_model();
46 const int tabCount = tabstrip_model->count();
48 TabContents* tc = tabstrip_model->GetTabContentsAt(i)->tab_contents();
/external/chromium/chrome/browser/extensions/
Dextension_browser_event_router.cc133 if (browser->tabstrip_model()) { in Init()
134 for (int i = 0; i < browser->tabstrip_model()->count(); ++i) { in Init()
168 browser->tabstrip_model()->AddObserver(this); in RegisterForBrowserNotifications()
176 if (browser->tabstrip_model()) { in RegisterForBrowserNotifications()
177 for (int i = 0; i < browser->tabstrip_model()->count(); ++i) in RegisterForBrowserNotifications()
218 browser->tabstrip_model()->RemoveObserver(this); in OnBrowserRemoved()
Dextension_tabs_module.cc113 TabStripModel* tab_strip = browser->tabstrip_model(); in CreateTabList()
189 TabStripModel* tab_strip = (*it)->tabstrip_model(); in GetTabStripModel()
232 TabStripModel* target_tab_strip = target_browser->tabstrip_model(); in GetTabById()
495 TabStripModel* target_tab_strip = new_window->tabstrip_model(); in RunImpl()
629 TabStripModel* tab_strip = browser->tabstrip_model(); in RunImpl()
739 TabStripModel* tab_strip = browser->tabstrip_model(); in RunImpl()
761 params.browser->tabstrip_model(), in RunImpl()
762 params.browser->tabstrip_model()->GetIndexOfTabContents( in RunImpl()
999 TabStripModel* target_tab_strip = target_browser->tabstrip_model(); in RunImpl()
1253 contents = browser->tabstrip_model()->GetSelectedTabContents(); in RunImpl()
Dextension_crash_recovery_browsertest.cc285 browser2->tabstrip_model()->DetachTabContentsAt(0); in IN_PROC_BROWSER_TEST_F()
286 browser()->tabstrip_model()->AppendTabContents(contents, true); in IN_PROC_BROWSER_TEST_F()
Dextension_cookies_helpers.cc125 TabStripModel* tab_strip = browser->tabstrip_model(); in AppendToTabIdList()
/external/chromium/chrome/browser/tabs/
Dpinned_tab_codec.cc30 TabStripModel* tab_model = browser->tabstrip_model(); in HasPinnedTabs()
69 TabStripModel* tab_model = browser->tabstrip_model(); in EncodePinnedTabs()
Dpinned_tab_codec_unittest.cc40 browser()->tabstrip_model()->SetTabPinned(0, true); in TEST_F()
Dpinned_tab_service_unittest.cc38 browser()->tabstrip_model()->SetTabPinned(0, true); in TEST_F()
/external/chromium/chrome/browser/ui/
Dbrowser_navigator.cc57 browser->tabstrip_model()->empty(); in WindowCanOpenTabs()
225 if (params->browser->tabstrip_model()->empty() && in NormalizeDisposition()
389 params->browser->tabstrip_model()->empty()) { in Navigate()
476 params->browser->tabstrip_model()->AddTabContents( in Navigate()
Dbrowser.cc357 browser->tabstrip_model()->AppendTabContents(wrapper, true); in CreateForPopup()
661 TabStripModel* model = browser->tabstrip_model(); in OpenApplicationTab()
971 return tabstrip_model()->GetSelectedTabContents(); in GetSelectedTabContentsWrapper()
974 return tabstrip_model()->GetTabContentsAt(index); in GetTabContentsWrapperAt()
985 TabContentsWrapper* wrapper = tabstrip_model()->GetTabContentsAt(index); in GetTabContentsAt()
996 return tabstrip_model()->IsTabPinned(index); in IsTabPinned()
1075 tab_index = std::min(tab_index, tabstrip_model()->IndexOfFirstNonMiniTab()); in AddRestoredTab()
1518 browser->tabstrip_model()->AppendTabContents(contents, true); in ConvertPopupToTabbedBrowser()
2408 tabstrip_model()->TabNavigating(contents, transition); in UpdateUIForNavigationInTab()
2526 browser->tabstrip_model()->AppendTabContents(detached_contents, true); in CreateNewStripWithContents()
[all …]
/external/chromium/chrome/browser/ui/gtk/
Dbrowser_titlebar.cc765 TabStripModel* tabstrip_model = browser_window_->browser()->tabstrip_model(); in OnScroll() local
766 int index = tabstrip_model->active_index(); in OnScroll()
770 tabstrip_model->SelectPreviousTab(); in OnScroll()
771 } else if (index + 1 < tabstrip_model->count()) { in OnScroll()
772 tabstrip_model->SelectNextTab(); in OnScroll()
Dbrowser_window_gtk.cc291 browser_->tabstrip_model()->RemoveObserver(this); in ~BrowserWindowGtk()
1154 if (index == browser_->tabstrip_model()->active_index()) { in TabDetachedAt()
1180 if (!browser_->tabstrip_model()->closing_all()) { in TabSelectedAt()
1441 if (!browser_->tabstrip_model()->empty()) { in CanClose()
1611 tabstrip_.reset(new TabStripGtk(browser_->tabstrip_model(), this)); in InitWidgets()
1727 browser_->tabstrip_model()->AddObserver(this); in InitWidgets()
/external/chromium/chrome/browser/ui/touch/frame/
Dtouch_browser_frame_view.cc63 browser_view->browser()->tabstrip_model()->AddObserver(this); in TouchBrowserFrameView()
71 browser_view()->browser()->tabstrip_model()->RemoveObserver(this); in ~TouchBrowserFrameView()
/external/chromium/chrome/browser/ui/views/frame/
Dbrowser_view.cc318 browser_->tabstrip_model()->AddObserver(this); in BrowserView()
326 browser_->tabstrip_model()->RemoveObserver(this); in ~BrowserView()
331 browser_->tabstrip_model()->RemoveObserver(aeropeek_manager_.get()); in ~BrowserView()
428 return browser_->tabstrip_model()->delegate()->UseVerticalTabs(); in UseVerticalTabs()
1181 InitTabStrip(browser_->tabstrip_model());
1290 if (index == browser_->tabstrip_model()->active_index()) {
1323 if (index != browser_->tabstrip_model()->active_index())
1569 if (!browser_->tabstrip_model()->empty()) {
1761 InitTabStrip(browser_->tabstrip_model());
1828 browser_->tabstrip_model()->AddObserver(aeropeek_manager_.get());
[all …]
/external/chromium/chrome/browser/printing/
Dprint_preview_tab_controller_unittest.cc95 TabStripModel* model = browser()->tabstrip_model(); in TEST_F()
Dprint_preview_tab_controller.cc172 params.tabstrip_index = current_browser->tabstrip_model()-> in CreatePrintPreviewTab()
/external/chromium/chrome/browser/
Doom_priority_manager.cc105 const TabStripModel* model = browser->tabstrip_model(); in AdjustOomPriorities()
Dbrowser_browsertest.cc484 TabStripModel* model = browser()->tabstrip_model(); in IN_PROC_BROWSER_TEST_F()
611 TabStripModel* model = browser()->tabstrip_model(); in IN_PROC_BROWSER_TEST_F()
658 TabStripModel* new_model = new_browser->tabstrip_model(); in IN_PROC_BROWSER_TEST_F()

12