/external/chromium_org/chrome/browser/ui/search/ |
D | instant_extended_interactive_uitest.cc | 407 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 …]
|
D | instant_extended_manual_interactive_uitest.cc | 78 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()
|
D | local_ntp_browsertest.cc | 43 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()
|
D | instant_search_prerenderer_unittest.cc | 316 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()
|
D | instant_controller.cc | 266 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/ |
D | tab_strip_unittest.cc | 248 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 …]
|
D | tab_strip.cc | 1275 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 …]
|
D | tab_strip.h | 361 Tab* active_tab,
|
/external/chromium_org/chrome/browser/ui/startup/ |
D | session_crashed_infobar_delegate.cc | 77 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/ |
D | session_restore_uitest.cc | 121 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/ |
D | signin_browsertest.cc | 122 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/ |
D | app_session_lifetime.cc | 90 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/ |
D | tab_strip.cc | 273 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()
|
D | side_tab_strip.h | 52 BaseTab* active_tab,
|
D | tab_strip.h | 94 BaseTab* active_tab,
|
D | base_tab_strip.h | 188 BaseTab* active_tab,
|
D | side_tab_strip.cc | 383 BaseTab* active_tab, in LayoutDraggedTabsAt() argument
|
/external/chromium_org/chrome/test/automation/ |
D | browser_proxy.cc | 179 int active_tab; in WaitForTabToBecomeActive() local 180 if (GetActiveTabIndex(&active_tab) && active_tab == tab) in WaitForTabToBecomeActive()
|
/external/chromium/chrome/browser/ui/touch/tabs/ |
D | touch_tab_strip.h | 47 BaseTab* active_tab,
|
D | touch_tab_strip.cc | 156 BaseTab* active_tab, in LayoutDraggedTabsAt() argument
|
/external/chromium/chrome/browser/extensions/ |
D | extension_host.cc | 469 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/ |
D | browser_actions_container.cc | 466 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/ |
D | browser_actions_toolbar_gtk.cc | 591 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/ |
D | session_restore.cc | 873 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/ |
D | tab_strip_gtk.cc | 1637 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()
|