Searched defs:tab_strip_model (Results 1 - 25 of 31) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/tabs/
H A Dhover_tab_selector.cc10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
13 TabStripModel* tab_strip_model)
14 : tab_strip_model_(tab_strip_model),
12 HoverTabSelector( TabStripModel* tab_strip_model) argument
H A Dtab_strip_model_observer.cc14 void TabStripModelObserver::TabClosingAt(TabStripModel* tab_strip_model, argument
33 TabStripModel* tab_strip_model,
47 void TabStripModelObserver::TabReplacedAt(TabStripModel* tab_strip_model, argument
32 TabSelectionChanged( TabStripModel* tab_strip_model, const ui::ListSelectionModel& model) argument
/external/chromium_org/chrome/browser/chromeos/accessibility/
H A Dsticky_keys_browsertest.cc12 #include "chrome/browser/ui/tabs/tab_strip_model.h"
89 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
92 EXPECT_EQ(tab_count, tab_strip_model->count());
99 EXPECT_EQ(tab_count, tab_strip_model->count());
106 EXPECT_EQ(tab_count, tab_strip_model->count());
112 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
114 EXPECT_EQ(tab_count, tab_strip_model->count());
120 EXPECT_EQ(++tab_count, tab_strip_model
[all...]
/external/chromium_org/chrome/browser/printing/
H A Dprint_preview_dialog_controller_unittest.cc10 #include "chrome/browser/ui/tabs/tab_strip_model.h"
37 EXPECT_EQ(0, browser()->tab_strip_model()->count());
39 EXPECT_EQ(1, browser()->tab_strip_model()->count());
42 WebContents* initiator = browser()->tab_strip_model()->GetActiveWebContents();
55 EXPECT_EQ(1, browser()->tab_strip_model()->count());
63 EXPECT_EQ(1, browser()->tab_strip_model()->count());
75 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
76 ASSERT_TRUE(tab_strip_model);
78 EXPECT_EQ(0, tab_strip_model
[all...]
/external/chromium_org/chrome/test/perf/
H A Dmach_ports_performancetest.cc14 #include "chrome/browser/ui/tabs/tab_strip_model.h"
102 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
103 int tab_count = tab_strip_model->count();
110 tab_strip_model->CloseWebContentsAt(0, TabStripModel::CLOSE_NONE));
/external/chromium_org/chrome/browser/
H A Dbrowser_commands_unittest.cc11 #include "chrome/browser/ui/tabs/tab_strip_model.h"
39 browser()->tab_strip_model()->ActivateTabAt(1, false);
45 ASSERT_EQ(0, browser()->tab_strip_model()->active_index());
49 ASSERT_EQ(1, browser()->tab_strip_model()->active_index());
53 ASSERT_EQ(0, browser()->tab_strip_model()->active_index());
57 ASSERT_EQ(2, browser()->tab_strip_model()->active_index());
72 browser()->tab_strip_model()->GetWebContentsAt(0)->GetController();
88 ASSERT_EQ(2, browser()->tab_strip_model()->count());
92 browser()->tab_strip_model()->GetWebContentsAt(1)->GetController();
109 browser()->tab_strip_model()
234 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
259 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
278 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
295 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
313 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
[all...]
/external/chromium_org/chrome/browser/ui/ash/
H A Dmedia_delegate_chromeos.cc17 #include "chrome/browser/ui/tabs/tab_strip_model.h"
48 TabStripModel* tab_strip_model = (*iter)->tab_strip_model(); local
49 for (int i = 0; i < tab_strip_model->count(); ++i) {
50 content::WebContents* web_contents = tab_strip_model->GetWebContentsAt(i);
/external/chromium_org/chrome/browser/ui/
H A Dbrowser_tabrestore_browsertest.cc12 #include "chrome/browser/ui/tabs/tab_strip_model.h"
30 void CheckVisbility(TabStripModel* tab_strip_model, int visible_index) { argument
31 for (int i = 0; i < tab_strip_model->count(); ++i) {
32 content::WebContents* contents = tab_strip_model->GetWebContentsAt(i);
68 EXPECT_EQ(3, browser()->tab_strip_model()->count());
95 EXPECT_EQ(3, browser->tab_strip_model()->count());
98 CheckVisbility(browser->tab_strip_model(), 1);
104 EXPECT_EQ(3, browser()->tab_strip_model()->count());
128 browser->tab_strip_model()->GetActiveWebContents());
141 EXPECT_EQ(3, browser->tab_strip_model()
[all...]
H A Dbrowser_unittest.cc8 #include "chrome/browser/ui/tabs/tab_strip_model.h"
39 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
41 // Start with a single foreground tab. |tab_strip_model| owns the memory.
43 tab_strip_model->AppendWebContents(contents1, true);
46 EXPECT_TRUE(tab_strip_model->IsTabSelected(0));
51 tab_strip_model->AppendWebContents(contents2, false);
54 EXPECT_EQ(2, browser()->tab_strip_model()->count());
55 EXPECT_TRUE(tab_strip_model->IsTabSelected(0));
63 tab_strip_model
[all...]
H A Dfast_unload_controller.cc14 #include "chrome/browser/ui/tabs/tab_strip_model.h"
59 browser_->tab_strip_model()->AddObserver(this);
63 browser_->tab_strip_model()->RemoveObserver(this);
117 browser_->tab_strip_model()->delegate()->CreateHistoricalTab(contents);
207 for (int i = 0; i < browser_->tab_strip_model()->count(); ++i) {
209 browser_->tab_strip_model()->GetWebContentsAt(i);
302 void FastUnloadController::TabReplacedAt(TabStripModel* tab_strip_model, argument
353 int index = browser_->tab_strip_model()->GetIndexOfWebContents(contents);
357 browser_->tab_strip_model()->DetachWebContentsAt(index);
430 if (browser_->tab_strip_model()
[all...]
H A Dunload_controller.cc12 #include "chrome/browser/ui/tabs/tab_strip_model.h"
28 browser_->tab_strip_model()->AddObserver(this);
32 browser_->tab_strip_model()->RemoveObserver(this);
168 for (int i = 0; i < browser_->tab_strip_model()->count(); ++i) {
170 browser_->tab_strip_model()->GetWebContentsAt(i);
236 void UnloadController::TabReplacedAt(TabStripModel* tab_strip_model, argument
H A Dbrowser_command_controller.cc30 #include "chrome/browser/ui/tabs/tab_strip_model.h"
193 browser_->tab_strip_model()->AddObserver(this);
257 browser_->tab_strip_model()->RemoveObserver(this);
357 if (browser_->tab_strip_model()->active_index() == TabStripModel::kNoTab)
802 void BrowserCommandController::TabReplacedAt(TabStripModel* tab_strip_model, argument
1075 browser_->tab_strip_model()->GetActiveWebContents();
1134 browser_->tab_strip_model()->GetActiveWebContents();
1320 TabStripModel* model = browser_->tab_strip_model();
H A Dbrowser.h249 TabStripModel* tab_strip_model() const { return tab_strip_model_.get(); } function in class:Browser
409 virtual void TabClosingAt(TabStripModel* tab_strip_model,
422 virtual void TabReplacedAt(TabStripModel* tab_strip_model,
/external/chromium_org/chrome/browser/ui/views/autofill/
H A Dautofill_dialog_views_unittest.cc11 #include "chrome/browser/ui/tabs/tab_strip_model.h"
61 TabStripModel* tab_strip_model = browser()->tab_strip_model(); variable
62 content::WebContents* contents = tab_strip_model->GetWebContentsAt(0);
/external/chromium_org/chrome/browser/ui/ash/launcher/
H A Dbrowser_status_monitor.cc19 #include "chrome/browser/ui/tabs/tab_strip_model.h"
51 browser->tab_strip_model()->GetActiveWebContents() == web_contents())
60 if (browser->tab_strip_model()->GetActiveWebContents() == web_contents())
173 contents_from_lost = browser->tab_strip_model()->GetActiveWebContents();
185 contents_from_gained = browser->tab_strip_model()->GetActiveWebContents();
214 browser->tab_strip_model()->AddObserver(this);
225 browser->tab_strip_model()->RemoveObserver(this);
273 browser->tab_strip_model()->GetIndexOfWebContents(old_contents)))
286 void BrowserStatusMonitor::TabReplacedAt(TabStripModel* tab_strip_model, argument
303 (tab_strip_model
[all...]
/external/chromium_org/chrome/browser/extensions/activity_log/
H A Duma_policy.cc16 #include "chrome/browser/ui/tabs/tab_strip_model.h"
310 browser->tab_strip_model()->AddObserver(this);
316 browser->tab_strip_model()->RemoveObserver(this);
357 void UmaPolicy::TabClosingAt(TabStripModel* tab_strip_model, argument
/external/chromium_org/chrome/browser/extensions/api/tabs/
H A Dtabs_event_router.cc18 #include "chrome/browser/ui/tabs/tab_strip_model.h"
107 if (browser->tab_strip_model()) {
108 for (int i = 0; i < browser->tab_strip_model()->count(); ++i) {
109 WebContents* contents = browser->tab_strip_model()->GetWebContentsAt(i);
129 TabStripModel* tab_strip = browser->tab_strip_model();
171 browser->tab_strip_model()->RemoveObserver(this);
262 void TabsEventRouter::TabClosingAt(TabStripModel* tab_strip_model, argument
274 tab_strip_model->closing_all());
328 TabStripModel* tab_strip_model,
331 tab_strip_model
327 TabSelectionChanged( TabStripModel* tab_strip_model, const ui::ListSelectionModel& old_model) argument
518 TabReplacedAt(TabStripModel* tab_strip_model, WebContents* old_contents, WebContents* new_contents, int index) argument
[all...]
/external/chromium_org/chrome/browser/extensions/
H A Dextension_tab_util.cc24 #include "chrome/browser/ui/tabs/tab_strip_model.h"
226 TabStripModel* tab_strip = browser->tab_strip_model();
244 tab_strip = navigate_params.browser->tab_strip_model();
305 const TabStripModel* tab_strip_model) {
307 if (it->tab_strip_model() == tab_strip_model)
347 TabStripModel* tab_strip = browser->tab_strip_model();
440 TabStripModel** tab_strip_model,
443 DCHECK(tab_strip_model);
447 TabStripModel* tab_strip = it->tab_strip_model();
304 GetWindowIdOfTabStripModel( const TabStripModel* tab_strip_model) argument
439 GetTabStripModel(const WebContents* web_contents, TabStripModel** tab_strip_model, int* tab_index) argument
[all...]
/external/chromium_org/chrome/browser/ui/toolbar/
H A Dwrench_menu_model.cc34 #include "chrome/browser/ui/tabs/tab_strip_model.h"
139 browser_->tab_strip_model()->GetActiveWebContents();
281 tab_strip_model_(browser_->tab_strip_model()) {
337 browser_->tab_strip_model()->GetActiveWebContents();
490 void WrenchMenuModel::TabReplacedAt(TabStripModel* tab_strip_model, argument
766 if (browser_->tab_strip_model()->GetActiveWebContents()) {
768 browser_->tab_strip_model()->GetActiveWebContents())
/external/chromium_org/chrome/browser/ui/webui/signin/
H A Dinline_login_handler_impl.cc26 #include "chrome/browser/ui/tabs/tab_strip_model.h"
444 TabStripModel* tab_strip_model = browser->tab_strip_model(); local
445 if (tab_strip_model) {
446 int index = tab_strip_model->GetIndexOfWebContents(tab);
448 tab_strip_model->ExecuteContextMenuCommand(
/external/chromium_org/chrome/browser/extensions/api/web_navigation/
H A Dweb_navigation_api.cc104 browser->tab_strip_model()->AddObserver(this);
110 browser->tab_strip_model()->RemoveObserver(this);
114 TabStripModel* tab_strip_model,
113 TabReplacedAt( TabStripModel* tab_strip_model, content::WebContents* old_contents, content::WebContents* new_contents, int index) argument
/external/chromium_org/chrome/browser/sessions/
H A Dsession_restore_browsertest.cc31 #include "chrome/browser/ui/tabs/tab_strip_model.h"
159 browser->tab_strip_model()->GetActiveWebContents());
166 browser->tab_strip_model()->GetActiveWebContents());
173 ASSERT_EQ(1, browser->tab_strip_model()->count());
214 TabStripModel* tab_strip_model = restored->tab_strip_model(); local
215 const int tabs = tab_strip_model->count();
220 content::WebContents* contents = tab_strip_model->GetWebContentsAt(i);
253 TabStripModel* tab_strip_model = restored->tab_strip_model(); local
1184 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
[all...]
/external/chromium_org/chrome/browser/ui/views/tabs/
H A Dbrowser_tab_strip_controller.cc22 #include "chrome/browser/ui/tabs/tab_strip_model.h"
447 TabStripModel* tab_strip_model,
476 void BrowserTabStripController::TabReplacedAt(TabStripModel* tab_strip_model, argument
446 TabSelectionChanged( TabStripModel* tab_strip_model, const ui::ListSelectionModel& old_model) argument
/external/chromium_org/chrome/browser/devtools/
H A Ddevtools_window.cc27 #include "chrome/browser/ui/tabs/tab_strip_model.h"
73 int tab_index = it->tab_strip_model()->GetIndexOfWebContents(
445 browser->tab_strip_model()->CloseAllTabs();
450 browser->tab_strip_model()->GetActiveWebContents(),
558 TabStripModel* tab_strip_model = inspected_browser->tab_strip_model(); local
559 tab_strip_model->ActivateTabAt(inspected_tab_index, true);
642 if (browser->tab_strip_model()->empty())
645 browser->tab_strip_model()->GetWebContentsAt(0);
1033 TabStripModel* tab_strip_model local
[all...]
/external/chromium_org/chrome/browser/profile_resetter/
H A Dprofile_resetter_unittest.cc23 #include "chrome/browser/ui/tabs/tab_strip_model.h"
763 TabStripModel* tab_strip_model = browser()->tab_strip_model(); local
765 tab_strip_model->AppendWebContents(contents4.get(), true);
766 tab_strip_model->AppendWebContents(contents3.get(), true);
767 tab_strip_model->AppendWebContents(contents2.get(), true);
768 tab_strip_model->SetTabPinned(2, true);
769 tab_strip_model->AppendWebContents(contents1.get(), true);
770 tab_strip_model->SetTabPinned(3, true);
772 EXPECT_EQ(contents2, tab_strip_model
[all...]

Completed in 875 milliseconds

12