/external/chromium_org/chrome/browser/extensions/ |
D | isolated_app_browsertest.cc | 174 WebContents* tab0 = browser()->tab_strip_model()->GetWebContentsAt(1); in IN_PROC_BROWSER_TEST_F() 236 WebContents* tab0 = browser()->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F() 237 WebContents* tab1 = browser()->tab_strip_model()->GetWebContentsAt(1); in IN_PROC_BROWSER_TEST_F() 238 WebContents* tab2 = browser()->tab_strip_model()->GetWebContentsAt(2); in IN_PROC_BROWSER_TEST_F() 331 EXPECT_TRUE(HasCookie(browser()->tab_strip_model()->GetWebContentsAt(0), in IN_PROC_BROWSER_TEST_F() 333 EXPECT_TRUE(HasCookie(browser()->tab_strip_model()->GetWebContentsAt(0), in IN_PROC_BROWSER_TEST_F() 335 EXPECT_TRUE(HasCookie(browser()->tab_strip_model()->GetWebContentsAt(0), in IN_PROC_BROWSER_TEST_F() 337 EXPECT_TRUE(HasCookie(browser()->tab_strip_model()->GetWebContentsAt(1), in IN_PROC_BROWSER_TEST_F() 339 EXPECT_TRUE(HasCookie(browser()->tab_strip_model()->GetWebContentsAt(1), in IN_PROC_BROWSER_TEST_F() 341 EXPECT_TRUE(HasCookie(browser()->tab_strip_model()->GetWebContentsAt(1), in IN_PROC_BROWSER_TEST_F() [all …]
|
D | app_process_apitest.cc | 95 browser()->tab_strip_model()->GetWebContentsAt(1)-> in TestAppInstancesHelper() 97 EXPECT_FALSE(browser()->tab_strip_model()->GetWebContentsAt(1)->GetWebUI()); in TestAppInstancesHelper() 109 browser()->tab_strip_model()->GetWebContentsAt(2)-> in TestAppInstancesHelper() 111 EXPECT_FALSE(browser()->tab_strip_model()->GetWebContentsAt(2)->GetWebUI()); in TestAppInstancesHelper() 118 WebContents* tab1 = browser()->tab_strip_model()->GetWebContentsAt(1); in TestAppInstancesHelper() 119 WebContents* tab2 = browser()->tab_strip_model()->GetWebContentsAt(2); in TestAppInstancesHelper() 170 browser()->tab_strip_model()->GetWebContentsAt(1)-> in IN_PROC_BROWSER_TEST_F() 172 EXPECT_FALSE(browser()->tab_strip_model()->GetWebContentsAt(1)->GetWebUI()); in IN_PROC_BROWSER_TEST_F() 179 browser()->tab_strip_model()->GetWebContentsAt(2)-> in IN_PROC_BROWSER_TEST_F() 181 EXPECT_FALSE(browser()->tab_strip_model()->GetWebContentsAt(2)->GetWebUI()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | process_management_browsertest.cc | 122 browser()->tab_strip_model()->GetWebContentsAt(0)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F() 124 browser()->tab_strip_model()->GetWebContentsAt(1)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F() 126 browser()->tab_strip_model()->GetWebContentsAt(2)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F() 128 browser()->tab_strip_model()->GetWebContentsAt(3)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F() 131 browser()->tab_strip_model()->GetWebContentsAt(4)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F() 133 browser()->tab_strip_model()->GetWebContentsAt(5)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F() 135 browser()->tab_strip_model()->GetWebContentsAt(6)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F() 137 browser()->tab_strip_model()->GetWebContentsAt(7)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F() 140 browser()->tab_strip_model()->GetWebContentsAt(8)->GetRenderProcessHost(); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/startup/ |
D | startup_browser_creator_browsertest.cc | 223 EXPECT_EQ(urls[i], tab_strip->GetWebContentsAt(i)->GetURL()); in IN_PROC_BROWSER_TEST_F() 228 EXPECT_NE(tab_strip->GetWebContentsAt(0)->GetSiteInstance(), in IN_PROC_BROWSER_TEST_F() 229 tab_strip->GetWebContentsAt(1)->GetSiteInstance()); in IN_PROC_BROWSER_TEST_F() 416 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName()); in IN_PROC_BROWSER_TEST_F() 418 tab_strip->GetWebContentsAt(1)->GetURL().ExtractFileName()); in IN_PROC_BROWSER_TEST_F() 451 tab_strip->GetWebContentsAt(0)->GetURL().ExtractFileName()); in IN_PROC_BROWSER_TEST_F() 453 tab_strip->GetWebContentsAt(1)->GetURL()); in IN_PROC_BROWSER_TEST_F() 455 tab_strip->GetWebContentsAt(2)->GetURL().ExtractFileName()); in IN_PROC_BROWSER_TEST_F() 457 tab_strip->GetWebContentsAt(3)->GetURL()); in IN_PROC_BROWSER_TEST_F() 477 tab_strip->GetWebContentsAt(0)->GetURL()); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | session_crashed_infobar_delegate_unittest.cc | 61 content::WebContents* web_contents = tab_strip->GetWebContentsAt(0); in TEST_F() 84 InfoBarService::FromWebContents(tab_strip->GetWebContentsAt(0)); in TEST_F()
|
/external/chromium_org/chrome/browser/ |
D | browser_commands_unittest.cc | 72 browser()->tab_strip_model()->GetWebContentsAt(0)->GetController(); in TEST_F() 92 browser()->tab_strip_model()->GetWebContentsAt(1)->GetController(); in TEST_F() 109 browser()->tab_strip_model()->GetWebContentsAt(0)->GetController(); in TEST_F() 130 browser()->tab_strip_model()->GetWebContentsAt(1)->GetController(); in TEST_F() 172 WebContents* zeroth = browser()->tab_strip_model()->GetWebContentsAt(0); in TEST_F() 173 WebContents* first = browser()->tab_strip_model()->GetWebContentsAt(1); in TEST_F() 204 WebContents* second = browser()->tab_strip_model()->GetWebContentsAt(2); in TEST_F() 238 content::WebContents* contents1 = tab_strip_model->GetWebContentsAt(0); in TEST_F() 263 content::WebContents* contents1 = tab_strip_model->GetWebContentsAt(0); in TEST_F() 282 content::WebContents* contents1 = tab_strip_model->GetWebContentsAt(0); in TEST_F() [all …]
|
D | browser_keyevents_browsertest.cc | 153 browser()->tab_strip_model()->GetWebContentsAt(tab_index), in SuppressEventByType() 178 browser()->tab_strip_model()->GetWebContentsAt(tab_index), in GetResultLength() 191 browser()->tab_strip_model()->GetWebContentsAt(tab_index), in CheckResult() 208 browser()->tab_strip_model()->GetWebContentsAt(tab_index), in CheckFocusedElement() 218 browser()->tab_strip_model()->GetWebContentsAt(tab_index), in SetFocusedElement() 229 browser()->tab_strip_model()->GetWebContentsAt(tab_index), in CheckTextBoxValue() 240 browser()->tab_strip_model()->GetWebContentsAt(tab_index), in SetTextBoxValue() 250 browser()->tab_strip_model()->GetWebContentsAt(tab_index), in StartTest() 271 browser()->tab_strip_model()->GetWebContentsAt(tab_index)); in TestKeyEvent() 717 browser()->tab_strip_model()->GetWebContentsAt(1)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/webui/ntp/ |
D | new_tab_ui_browsertest.cc | 49 browser()->tab_strip_model()->GetWebContentsAt(1)->GetMaxPageID()); in IN_PROC_BROWSER_TEST_F() 71 browser()->tab_strip_model()->GetWebContentsAt(2)->GetMaxPageID()); in IN_PROC_BROWSER_TEST_F() 79 browser()->tab_strip_model()->GetWebContentsAt(2)->GetMaxPageID()); in IN_PROC_BROWSER_TEST_F() 87 browser()->tab_strip_model()->GetWebContentsAt(3)->GetMaxPageID()); in IN_PROC_BROWSER_TEST_F() 94 browser()->tab_strip_model()->GetWebContentsAt(1)->GetMaxPageID()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/tabs/ |
D | tab_strip_model_unittest.cc | 216 actual += base::IntToString(GetID(model.GetWebContentsAt(i))); in GetTabStripStateString() 372 s.src_contents = model()->GetWebContentsAt(old_model.active()); in TabSelectionChanged() 629 EXPECT_EQ(contents2, tabstrip.GetWebContentsAt(0)); in TEST_F() 630 EXPECT_EQ(contents1, tabstrip.GetWebContentsAt(1)); in TEST_F() 793 EXPECT_EQ(contents1, tabstrip.GetWebContentsAt(1)); in TEST_F() 794 EXPECT_EQ(contents2, tabstrip.GetWebContentsAt(2)); in TEST_F() 795 EXPECT_EQ(contents3, tabstrip.GetWebContentsAt(3)); in TEST_F() 826 EXPECT_EQ(opener, tabstrip.GetWebContentsAt(0)); in TEST_F() 827 EXPECT_EQ(contents1, tabstrip.GetWebContentsAt(1)); in TEST_F() 828 EXPECT_EQ(contents2, tabstrip.GetWebContentsAt(2)); in TEST_F() [all …]
|
D | tab_strip_model.cc | 513 return GetWebContentsAt(active_index()); in GetActiveWebContents() 516 WebContents* TabStripModel::GetWebContentsAt(int index) const { in GetWebContentsAt() function in TabStripModel 710 WebContents* contents = GetWebContentsAt(index); in IsAppTab() 886 WebContents* tab = GetWebContentsAt(indices[i]); in IsContextMenuCommandEnabled() 926 if (!chrome::CanToggleAudioMute(GetWebContentsAt(indices[i]))) in IsContextMenuCommandEnabled() 962 WebContents* tab = GetWebContentsAt(indices[i]); in ExecuteContextMenuCommand() 980 tabs.push_back(GetWebContentsAt(indices[i])); in ExecuteContextMenuCommand() 1048 chrome::SetTabAudioMuted(GetWebContentsAt(*i), mute); in ExecuteContextMenuCommand() 1161 std::string domain = GetWebContentsAt(index)->GetURL().host(); in GetIndicesWithSameDomain() 1167 if (GetWebContentsAt(i)->GetURL().host() == domain) in GetIndicesWithSameDomain() [all …]
|
/external/chromium_org/chrome/browser/ui/search/ |
D | search_delegate_unittest.cc | 22 browser()->tab_strip_model()->GetWebContentsAt(0); in TEST_F() 31 web_contents = browser()->tab_strip_model()->GetWebContentsAt(1); in TEST_F() 38 web_contents = browser()->tab_strip_model()->GetWebContentsAt(0); in TEST_F()
|
/external/chromium_org/chrome/browser/captive_portal/ |
D | captive_portal_browsertest.cc | 1022 browser->tab_strip_model()->GetWebContentsAt(index)); in GetStateOfTabReloaderAt() 1142 browser->tab_strip_model()->GetWebContentsAt(active_index))); in FastTimeoutNoCaptivePortal() 1211 tab_strip_model->GetWebContentsAt(initial_tab_count))); in SlowLoadBehindCaptivePortal() 1214 EXPECT_TRUE(IsLoginTab(tab_strip_model->GetWebContentsAt(1))); in SlowLoadBehindCaptivePortal() 1290 tab_strip_model->GetWebContentsAt(initial_active_index))); in FastErrorBehindCaptivePortal() 1292 tab_strip_model->GetWebContentsAt(initial_tab_count))); in FastErrorBehindCaptivePortal() 1295 EXPECT_TRUE(IsLoginTab(tab_strip_model->GetWebContentsAt(1))); in FastErrorBehindCaptivePortal() 1300 tab_strip_model->GetWebContentsAt(initial_active_index))); in FastErrorBehindCaptivePortal() 1352 EXPECT_TRUE(IsLoginTab(tab_strip_model->GetWebContentsAt(login_tab_index))); in NavigateLoginTab() 1356 tab_strip_model->GetWebContentsAt(login_tab_index))); in NavigateLoginTab() [all …]
|
/external/chromium_org/chrome/browser/ui/views/ |
D | ssl_client_certificate_selector_browsertest.cc | 156 ASSERT_TRUE(NULL != browser()->tab_strip_model()->GetWebContentsAt(0)); in SetUpOnMainThread() 157 ASSERT_TRUE(NULL != browser()->tab_strip_model()->GetWebContentsAt(1)); in SetUpOnMainThread() 158 ASSERT_TRUE(NULL != browser()->tab_strip_model()->GetWebContentsAt(2)); in SetUpOnMainThread() 159 content::WaitForLoadStop(browser()->tab_strip_model()->GetWebContentsAt(1)); in SetUpOnMainThread() 160 content::WaitForLoadStop(browser()->tab_strip_model()->GetWebContentsAt(2)); in SetUpOnMainThread() 163 browser()->tab_strip_model()->GetWebContentsAt(1), in SetUpOnMainThread() 170 browser()->tab_strip_model()->GetWebContentsAt(2), in SetUpOnMainThread()
|
/external/chromium_org/chrome/browser/renderer_host/ |
D | render_process_host_chrome_browsertest.cc | 87 WebContents* wc = tab_strip->GetWebContentsAt( in OpenBackgroundTab() 131 tab1 = browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); in TestProcessOverflow() 147 tab1 = browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); in TestProcessOverflow() 161 tab2 = browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); in TestProcessOverflow() 177 tab2 = browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); in TestProcessOverflow() 192 tab1 = browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); in TestProcessOverflow() 476 WebContents* wc1 = browser()->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F() 477 WebContents* wc2 = browser()->tab_strip_model()->GetWebContentsAt(1); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/sessions/ |
D | session_restore_browsertest.cc | 220 content::WebContents* contents = tab_strip_model->GetWebContentsAt(i); in IN_PROC_BROWSER_TEST_F() 259 content::WebContents* contents = tab_strip_model->GetWebContentsAt(i); in IN_PROC_BROWSER_TEST_F() 306 new_browser->tab_strip_model()->GetWebContentsAt(0)->GetURL()); in IN_PROC_BROWSER_TEST_F() 383 EXPECT_EQ(url, new_browser->tab_strip_model()->GetWebContentsAt(0)->GetURL()); in IN_PROC_BROWSER_TEST_F() 536 EXPECT_EQ(url, new_browser->tab_strip_model()->GetWebContentsAt(0)->GetURL()); in IN_PROC_BROWSER_TEST_F() 594 browser()->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F() 613 web_contents = browser()->tab_strip_model()->GetWebContentsAt(1); in IN_PROC_BROWSER_TEST_F() 634 web_contents = new_browser->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F() 698 new_browser->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F() 700 new_browser->tab_strip_model()->GetWebContentsAt(1); in IN_PROC_BROWSER_TEST_F() [all …]
|
D | tab_restore_browsertest.cc | 117 browser()->tab_strip_model()->GetWebContentsAt(index)); in CloseTab() 428 browser()->tab_strip_model()->GetWebContentsAt(tab_count - 1); in IN_PROC_BROWSER_TEST_F() 566 browser->tab_strip_model()->GetWebContentsAt(initial_tab_count); in IN_PROC_BROWSER_TEST_F() 571 browser->tab_strip_model()->GetWebContentsAt(initial_tab_count + 1); in IN_PROC_BROWSER_TEST_F() 589 content::WebContents* tab = browser()->tab_strip_model()->GetWebContentsAt(1); in IN_PROC_BROWSER_TEST_F() 619 content::WebContents* tab = browser()->tab_strip_model()->GetWebContentsAt(1); in IN_PROC_BROWSER_TEST_F() 643 browser()->tab_strip_model()->GetWebContentsAt(1)->GetURL()); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/extensions/api/declarative_content/ |
D | declarative_content_apitest.cc | 105 browser()->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F() 173 browser()->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F() 206 browser()->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F() 271 browser()->tab_strip_model()->GetWebContentsAt(0); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/views/frame/ |
D | browser_view_browsertest.cc | 93 browser2->tab_strip_model()->GetWebContentsAt(0), in IN_PROC_BROWSER_TEST_F() 94 browser2->tab_strip_model()->GetWebContentsAt(1)); in IN_PROC_BROWSER_TEST_F() 108 browser2->tab_strip_model()->GetWebContentsAt(0), in IN_PROC_BROWSER_TEST_F() 109 browser2->tab_strip_model()->GetWebContentsAt(1)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/fullscreen/ |
D | fullscreen_controller_state_unittest.cc | 498 browser()->tab_strip_model()->GetWebContentsAt(0); in TEST_F() 500 browser()->tab_strip_model()->GetWebContentsAt(1); in TEST_F() 562 browser()->tab_strip_model()->GetWebContentsAt(0); in TEST_F() 564 browser()->tab_strip_model()->GetWebContentsAt(1); in TEST_F() 620 browser()->tab_strip_model()->GetWebContentsAt(0); in TEST_F() 622 browser()->tab_strip_model()->GetWebContentsAt(1); in TEST_F() 675 browser()->tab_strip_model()->GetWebContentsAt(0); in TEST_F() 727 browser()->tab_strip_model()->GetWebContentsAt(0); in TEST_F()
|
/external/chromium_org/chrome/browser/android/ |
D | dev_tools_manager_delegate_android.cc | 125 WebContents* web_contents = model->GetWebContentsAt(index); in IsAttached() 136 WebContents* web_contents = model->GetWebContentsAt(index); in GetAgentHost() 146 web_contents = model->GetWebContentsAt(index); in GetAgentHost() 310 WebContents* web_contents = model->GetWebContentsAt(i); in EnumerateTargets()
|
/external/chromium_org/chrome/browser/ui/ |
D | browser_tab_restore_service_delegate.cc | 39 WebContents* BrowserTabRestoreServiceDelegate::GetWebContentsAt( in GetWebContentsAt() function in BrowserTabRestoreServiceDelegate 41 return browser_->tab_strip_model()->GetWebContentsAt(index); in GetWebContentsAt()
|
/external/chromium_org/chrome/browser/tab_contents/ |
D | view_source_browsertest.cc | 124 content::ExecuteScript(browser()->tab_strip_model()->GetWebContentsAt(0), in IN_PROC_BROWSER_TEST_F() 131 ASSERT_TRUE(browser()->tab_strip_model()->GetWebContentsAt(0)-> in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/ash/launcher/ |
D | app_shortcut_launcher_item_controller.cc | 186 content::WebContents* web_contents = tab_strip->GetWebContentsAt(index); in GetRunningApplications() 257 content::WebContents* web_contents = tab_strip->GetWebContentsAt( in GetLRUApplication() 274 content::WebContents* web_contents = tab_strip->GetWebContentsAt(index); in GetLRUApplication() 333 content::WebContents* active = tab_strip->GetWebContentsAt( in AdvanceToNextApp()
|
/external/chromium_org/chrome/browser/notifications/ |
D | notification_browsertest.cc | 181 content::CrashTab(browser->tab_strip_model()->GetWebContentsAt(index)); in CrashTab() 208 browser->tab_strip_model()->GetWebContentsAt(index)); in VerifyInfoBar() 292 browser->tab_strip_model()->GetWebContentsAt(tab_index)); in PerformActionOnInfoBar() 383 browser()->tab_strip_model()->GetWebContentsAt(0)); in IN_PROC_BROWSER_TEST_F() 510 browser()->tab_strip_model()->GetWebContentsAt(0)); in IN_PROC_BROWSER_TEST_F() 578 browser()->tab_strip_model()->GetWebContentsAt(0)); in IN_PROC_BROWSER_TEST_F() 695 browser()->tab_strip_model()->GetWebContentsAt(0)); in IN_PROC_BROWSER_TEST_F()
|
/external/chromium_org/chrome/browser/ui/cocoa/extensions/ |
D | extension_install_dialog_controller_browsertest.mm | 30 content::WebContents* tab = browser()->tab_strip_model()->GetWebContentsAt(0); 55 content::WebContents* tab = browser()->tab_strip_model()->GetWebContentsAt(0);
|