Home
last modified time | relevance | path

Searched refs:GetWebContentsAt (Results 1 – 25 of 120) sorted by relevance

12345

/external/chromium_org/chrome/browser/extensions/
Disolated_app_browsertest.cc174 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 …]
Dapp_process_apitest.cc95 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 …]
Dprocess_management_browsertest.cc122 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/
Dstartup_browser_creator_browsertest.cc223 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 …]
Dsession_crashed_infobar_delegate_unittest.cc61 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/
Dbrowser_commands_unittest.cc72 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 …]
Dbrowser_keyevents_browsertest.cc153 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/
Dnew_tab_ui_browsertest.cc49 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/
Dtab_strip_model_unittest.cc216 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 …]
Dtab_strip_model.cc513 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/
Dsearch_delegate_unittest.cc22 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/
Dcaptive_portal_browsertest.cc1022 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/
Dssl_client_certificate_selector_browsertest.cc156 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/
Drender_process_host_chrome_browsertest.cc87 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/
Dsession_restore_browsertest.cc220 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 …]
Dtab_restore_browsertest.cc117 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/
Ddeclarative_content_apitest.cc105 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/
Dbrowser_view_browsertest.cc93 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/
Dfullscreen_controller_state_unittest.cc498 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/
Ddev_tools_manager_delegate_android.cc125 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/
Dbrowser_tab_restore_service_delegate.cc39 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/
Dview_source_browsertest.cc124 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/
Dapp_shortcut_launcher_item_controller.cc186 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/
Dnotification_browsertest.cc181 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/
Dextension_install_dialog_controller_browsertest.mm30 content::WebContents* tab = browser()->tab_strip_model()->GetWebContentsAt(0);
55 content::WebContents* tab = browser()->tab_strip_model()->GetWebContentsAt(0);

12345