Home
last modified time | relevance | path

Searched refs:active_tab (Results 1 – 25 of 27) sorted by relevance

12

/external/chromium_org/chrome/browser/ui/search/
Dinstant_extended_interactive_uitest.cc407 content::WebContents* active_tab = in IN_PROC_BROWSER_TEST_F() local
411 EXPECT_TRUE(chrome::IsInstantNTP(active_tab)); in IN_PROC_BROWSER_TEST_F()
413 active_tab->GetURL().spec()); in IN_PROC_BROWSER_TEST_F()
432 active_tab = browser()->tab_strip_model()->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F()
435 EXPECT_TRUE(chrome::IsInstantNTP(active_tab)); in IN_PROC_BROWSER_TEST_F()
437 active_tab->GetURL().spec()); in IN_PROC_BROWSER_TEST_F()
455 content::WebContents* active_tab = in IN_PROC_BROWSER_TEST_F() local
457 ASSERT_THAT(active_tab->GetURL().spec(), HasSubstr("q=flowers")); in IN_PROC_BROWSER_TEST_F()
458 ASSERT_TRUE(UpdateSearchState(active_tab)); in IN_PROC_BROWSER_TEST_F()
465 active_tab = browser()->tab_strip_model()->GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F()
[all …]
Dinstant_extended_manual_interactive_uitest.cc78 content::WebContents* active_tab() { in active_tab() function in InstantExtendedManualTest
113 content::WebContents* active_tab = in IN_PROC_BROWSER_TEST_F() local
115 EXPECT_TRUE(IsGooglePage(active_tab)); in IN_PROC_BROWSER_TEST_F()
136 content::WebContents* active_tab = in IN_PROC_BROWSER_TEST_F() local
138 ASSERT_TRUE(IsGooglePage(active_tab)); in IN_PROC_BROWSER_TEST_F()
146 ASSERT_TRUE(GetBoolFromJS(active_tab, "!!document.querySelector('#fkbx')", in IN_PROC_BROWSER_TEST_F()
150 active_tab, "document.querySelector('#fkbx').click()")); in IN_PROC_BROWSER_TEST_F()
170 content::TitleWatcher title_watcher(active_tab, search_title); in IN_PROC_BROWSER_TEST_F()
Dlocal_ntp_browsertest.cc43 content::WebContents* active_tab = in IN_PROC_BROWSER_TEST_F() local
45 ASSERT_TRUE(chrome::IsInstantNTP(active_tab)); in IN_PROC_BROWSER_TEST_F()
47 ASSERT_TRUE(GetBoolFromJS(active_tab, "!!runTests()", &success)); in IN_PROC_BROWSER_TEST_F()
79 content::WebContents* active_tab = in IN_PROC_BROWSER_TEST_F() local
81 EXPECT_EQ(ASCIIToUTF16("Nouvel onglet"), active_tab->GetTitle()); in IN_PROC_BROWSER_TEST_F()
Dinstant_search_prerenderer_unittest.cc316 content::WebContents* active_tab = GetActiveWebContents(); in TEST_F() local
317 EXPECT_EQ(GURL(content::kAboutBlankURL), active_tab->GetURL()); in TEST_F()
323 EXPECT_TRUE(prerenderer->IsAllowed(search_type_match, active_tab)); in TEST_F()
328 EXPECT_FALSE(prerenderer->IsAllowed(url_type_match, active_tab)); in TEST_F()
333 active_tab = GetActiveWebContents(); in TEST_F()
334 EXPECT_FALSE(chrome::GetSearchTermsFromURL(profile(), active_tab->GetURL()) in TEST_F()
337 EXPECT_FALSE(prerenderer->IsAllowed(search_type_match, active_tab)); in TEST_F()
Dinstant_controller.cc266 content::WebContents* active_tab = browser_->GetActiveWebContents(); in ResetInstantTab() local
267 if (!instant_tab_ || active_tab != instant_tab_->contents()) { in ResetInstantTab()
269 instant_tab_->Init(active_tab); in ResetInstantTab()
/external/chromium_org/chrome/browser/ui/views/tabs/
Dtab_strip_unittest.cc248 Tab* active_tab = tab_strip_->tab_at(1); in TEST_F() local
249 active_tab->SetBoundsRect(gfx::Rect(gfx::Point(150, 0), gfx::Size(200, 20))); in TEST_F()
250 ASSERT_TRUE(active_tab->IsActive()); in TEST_F()
307 tab_bounds = GetTabHitTestMask(active_tab); in TEST_F()
309 contents_bounds = GetTabCloseHitTestMask(active_tab, false); in TEST_F()
318 gfx::Rect local_bounds = GetTabCloseHitTestMask(active_tab, true); in TEST_F()
322 EXPECT_TRUE(active_tab->HitTestRect(gfx::Rect(30, 15, 1, 1))); in TEST_F()
323 EXPECT_TRUE(active_tab->HitTestRect(gfx::Rect(30, 15, 2, 2))); in TEST_F()
328 views::ImageButton* active_close = active_tab->close_button_; in TEST_F()
340 contents_bounds = GetTabCloseHitTestMask(active_tab, false); in TEST_F()
[all …]
Dtab_strip.cc1275 Tab* active_tab = NULL; in PaintChildren() local
1306 active_tab = tab; in PaintChildren()
1319 active_tab = tab; in PaintChildren()
1361 if (active_tab && !is_dragging) in PaintChildren()
1362 active_tab->Paint(canvas); in PaintChildren()
1376 if (active_tab && is_dragging) in PaintChildren()
1377 active_tab->Paint(canvas); in PaintChildren()
1652 Tab* active_tab = tab_at(active_index); in OnGestureEvent() local
1654 if (active_tab->tab_activated_with_last_gesture_begin()) in OnGestureEvent()
1900 Tab* active_tab, in LayoutDraggedTabsAt() argument
[all …]
Dtab_strip.h361 Tab* active_tab,
/external/chromium_org/chrome/browser/ui/startup/
Dsession_crashed_infobar_delegate.cc77 const content::WebContents* active_tab = in Accept() local
79 if (active_tab->GetURL() == GURL(chrome::kChromeUINewTabURL) || in Accept()
80 chrome::IsInstantNTP(active_tab)) { in Accept()
/external/chromium/chrome/browser/sessions/
Dsession_restore_uitest.cc121 scoped_refptr<TabProxy> active_tab(GetActiveTab()); in TEST_F() local
122 ASSERT_TRUE(active_tab.get()); in TEST_F()
123 ASSERT_TRUE(active_tab->GoBack()); in TEST_F()
162 scoped_refptr<TabProxy> active_tab(GetActiveTab()); in TEST_F() local
163 ASSERT_TRUE(active_tab.get()); in TEST_F()
164 ASSERT_TRUE(active_tab->GoBack()); in TEST_F()
261 scoped_refptr<TabProxy> active_tab(browser_proxy->GetActiveTab()); in TEST_F() local
262 ASSERT_TRUE(active_tab.get()); in TEST_F()
263 ASSERT_TRUE(active_tab->Close(true)); in TEST_F()
/external/chromium_org/chrome/browser/signin/
Dsignin_browsertest.cc122 content::WebContents* active_tab = in IN_PROC_BROWSER_TEST_F() local
125 active_tab->GetRenderProcessHost()->GetID(); in IN_PROC_BROWSER_TEST_F()
128 EXPECT_EQ(0, active_tab->GetRenderViewHost()->GetEnabledBindings()); in IN_PROC_BROWSER_TEST_F()
137 EXPECT_EQ(active_tab, browser()->tab_strip_model()->GetActiveWebContents()); in IN_PROC_BROWSER_TEST_F()
144 active_tab->GetRenderProcessHost()->GetID())); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/chrome/browser/chromeos/app_mode/
Dapp_session_lifetime.cc90 content::WebContents* active_tab = in HandleBrowser() local
93 active_tab ? active_tab->GetURL().spec() : std::string(); in HandleBrowser()
/external/chromium/chrome/browser/ui/views/tabs/
Dtab_strip.cc273 Tab* active_tab = NULL; in PaintChildren() local
286 active_tab = tab; in PaintChildren()
295 active_tab = tab; in PaintChildren()
321 if (active_tab && !is_dragging) in PaintChildren()
322 active_tab->Paint(canvas); in PaintChildren()
332 if (active_tab && is_dragging) in PaintChildren()
333 active_tab->Paint(canvas); in PaintChildren()
477 BaseTab* active_tab, in LayoutDraggedTabsAt() argument
483 int active_tab_model_index = GetModelIndexOfBaseTab(active_tab); in LayoutDraggedTabsAt()
485 std::find(tabs.begin(), tabs.end(), active_tab) - tabs.begin()); in LayoutDraggedTabsAt()
Dside_tab_strip.h52 BaseTab* active_tab,
Dtab_strip.h94 BaseTab* active_tab,
Dbase_tab_strip.h188 BaseTab* active_tab,
Dside_tab_strip.cc383 BaseTab* active_tab, in LayoutDraggedTabsAt() argument
/external/chromium_org/chrome/test/automation/
Dbrowser_proxy.cc179 int active_tab; in WaitForTabToBecomeActive() local
180 if (GetActiveTabIndex(&active_tab) && active_tab == tab) in WaitForTabToBecomeActive()
/external/chromium/chrome/browser/ui/touch/tabs/
Dtouch_tab_strip.h47 BaseTab* active_tab,
Dtouch_tab_strip.cc156 BaseTab* active_tab, in LayoutDraggedTabsAt() argument
/external/chromium/chrome/browser/extensions/
Dextension_host.cc469 TabContents* active_tab = browser->GetSelectedTabContents(); in GetMessageBoxRootWindow() local
470 if (active_tab) in GetMessageBoxRootWindow()
471 return active_tab->view()->GetTopLevelNativeWindow(); in GetMessageBoxRootWindow()
/external/chromium_org/chrome/browser/ui/views/toolbar/
Dbrowser_actions_container.cc466 content::WebContents* active_tab = in GetCurrentTabId() local
468 if (!active_tab) in GetCurrentTabId()
471 return SessionTabHelper::FromWebContents(active_tab)->session_id().id(); in GetCurrentTabId()
/external/chromium_org/chrome/browser/ui/gtk/
Dbrowser_actions_toolbar_gtk.cc591 content::WebContents* active_tab = in GetCurrentTabId() local
593 if (!active_tab) in GetCurrentTabId()
596 return SessionTabHelper::FromWebContents(active_tab)->session_id().id(); in GetCurrentTabId()
/external/chromium_org/chrome/browser/sessions/
Dsession_restore.cc873 WebContents* active_tab = in ProcessSessionWindows() local
879 active_tab && browser == browser_ && in ProcessSessionWindows()
900 chrome::CloseWebContents(browser, active_tab, true); in ProcessSessionWindows()
/external/chromium_org/chrome/browser/ui/gtk/tabs/
Dtab_strip_gtk.cc1637 TabGtk* active_tab = NULL; in ReStack() local
1641 active_tab = tab; in ReStack()
1645 if (active_tab) in ReStack()
1646 active_tab->Raise(); in ReStack()

12