Home
last modified time | relevance | path

Searched refs:new_web_contents (Results 1 – 25 of 50) sorted by relevance

12

/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/sessions/
H A Dsession_restore_android.cc35 std::unique_ptr<content::WebContents> new_web_contents = in RestoreForeignSessionTab() local
37 content::WebContents* raw_new_web_contents = new_web_contents.get(); in RestoreForeignSessionTab()
39 new_web_contents->GetController().Restore( in RestoreForeignSessionTab()
46 current_tab->SwapWebContents(std::move(new_web_contents), false, false); in RestoreForeignSessionTab()
50 tab_model->CreateTab(current_tab, new_web_contents.release()); in RestoreForeignSessionTab()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/safe_browsing/
H A Dchrome_password_protection_service_browsertest.cc235 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
323 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
471 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
520 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
524 new_web_contents, RequestOutcome::UNKNOWN, in IN_PROC_BROWSER_TEST_F()
614 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
631 new_web_contents->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_F()
672 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
677 new_web_contents->GetVisibleURL()); in IN_PROC_BROWSER_TEST_F()
743 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
[all …]
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/dom_distiller/
H A Dtab_utils.cc157 std::unique_ptr<content::WebContents> new_web_contents = in DistillCurrentPageAndView() local
159 DCHECK(new_web_contents); in DistillCurrentPageAndView()
162 new_web_contents->GetController().CopyStateFrom( in DistillCurrentPageAndView()
169 StartNavigationToDistillerViewer(new_web_contents.get(), in DistillCurrentPageAndView()
174 ->SwapWebContents(std::move(new_web_contents), false, false); in DistillCurrentPageAndView()
H A Dtab_utils_browsertest.cc74 auto new_web_contents = content::WebContents::Create(create_params); in NewContentsWithSameParamsAs() local
75 DCHECK(new_web_contents); in NewContentsWithSameParamsAs()
76 return new_web_contents; in NewContentsWithSameParamsAs()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/test/media_router/
H A Dmedia_router_integration_browsertest.cc371 WebContents* new_web_contents = GetActiveWebContents(); in RunReconnectSessionTest() local
372 ASSERT_TRUE(new_web_contents); in RunReconnectSessionTest()
373 ASSERT_NE(web_contents, new_web_contents); in RunReconnectSessionTest()
375 new_web_contents, in RunReconnectSessionTest()
379 new_web_contents, in RunReconnectSessionTest()
576 WebContents* new_web_contents = GetActiveWebContents(); in IN_PROC_BROWSER_TEST_F() local
577 ASSERT_TRUE(new_web_contents); in IN_PROC_BROWSER_TEST_F()
578 ExecuteJavaScriptAPI(new_web_contents, in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/web_applications/
H A Dweb_app_tab_helper.cc124 content::WebContents* new_web_contents) { in DidCloneToNewWebContents() argument
127 CreateForWebContents(new_web_contents); in DidCloneToNewWebContents()
128 auto* new_tab_helper = FromWebContents(new_web_contents); in DidCloneToNewWebContents()
H A Dweb_app_tab_helper.h51 content::WebContents* new_web_contents) override;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/
H A Dprocess_management_browsertest.cc550 WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
559 content::TestNavigationObserver observer(new_web_contents); in IN_PROC_BROWSER_TEST_F()
560 EXPECT_TRUE(content::ExecuteScript(new_web_contents, script)); in IN_PROC_BROWSER_TEST_F()
582 content::TestNavigationObserver reload_observer(new_web_contents); in IN_PROC_BROWSER_TEST_F()
583 new_web_contents->GetController().Reload(content::ReloadType::NORMAL, false); in IN_PROC_BROWSER_TEST_F()
H A Dtab_helper.cc232 WebContents* new_web_contents) { in DidCloneToNewWebContents() argument
235 CreateForWebContents(new_web_contents); in DidCloneToNewWebContents()
236 TabHelper* new_helper = FromWebContents(new_web_contents); in DidCloneToNewWebContents()
H A Dtab_helper.h110 content::WebContents* new_web_contents) override;
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/
H A Dchrome_navigation_browsertest.cc163 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
165 ASSERT_NE(new_web_contents, web_contents); in IN_PROC_BROWSER_TEST_F()
166 EXPECT_TRUE(WaitForLoadStop(new_web_contents)); in IN_PROC_BROWSER_TEST_F()
171 new_web_contents->GetTitle()); in IN_PROC_BROWSER_TEST_F()
383 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_F() local
388 EXPECT_FALSE(WaitForLoadStop(new_web_contents)); in IN_PROC_BROWSER_TEST_F()
392 new_web_contents->GetController(); in IN_PROC_BROWSER_TEST_F()
408 EXPECT_TRUE(content::ExecuteScript(new_web_contents, "window.x=3")); in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/pdf/
H A Dpdf_extension_test.cc1835 WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_P() local
1837 ASSERT_TRUE(new_web_contents); in IN_PROC_BROWSER_TEST_P()
1838 ASSERT_NE(web_contents, new_web_contents); in IN_PROC_BROWSER_TEST_P()
1860 WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_P() local
1862 ASSERT_TRUE(new_web_contents); in IN_PROC_BROWSER_TEST_P()
1974 WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_P() local
1976 ASSERT_TRUE(new_web_contents); in IN_PROC_BROWSER_TEST_P()
2031 WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_P() local
2033 ASSERT_TRUE(new_web_contents); in IN_PROC_BROWSER_TEST_P()
2057 WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_P() local
[all …]
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/renderer_host/
H A Drender_widget_host_view_browsertest.cc310 std::unique_ptr<WebContents> new_web_contents( in IN_PROC_BROWSER_TEST_F() local
313 new_web_contents->GetController().LoadURLWithParams( in IN_PROC_BROWSER_TEST_F()
315 EXPECT_TRUE(WaitForLoadStop(new_web_contents.get())); in IN_PROC_BROWSER_TEST_F()
327 new_web_contents->GetMainFrame()->GetProcess()); in IN_PROC_BROWSER_TEST_F()
336 new_web_contents->GetMainFrame()->GetProcess()); in IN_PROC_BROWSER_TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/renderer_host/
H A Drender_widget_host_view_browsertest.cc374 std::unique_ptr<WebContents> new_web_contents( in IN_PROC_BROWSER_TEST_F() local
377 new_web_contents->GetController().LoadURLWithParams( in IN_PROC_BROWSER_TEST_F()
379 EXPECT_TRUE(WaitForLoadStop(new_web_contents.get())); in IN_PROC_BROWSER_TEST_F()
391 new_web_contents->GetMainFrame()->GetProcess()); in IN_PROC_BROWSER_TEST_F()
400 new_web_contents->GetMainFrame()->GetProcess()); in IN_PROC_BROWSER_TEST_F()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/extensions/api/web_navigation/
H A Dweb_navigation_api_helpers.h67 content::WebContents* new_web_contents);
H A Dweb_navigation_api_helpers.cc281 content::WebContents* new_web_contents) { in DispatchOnTabReplaced() argument
284 details.tab_id = ExtensionTabUtil::GetTabId(new_web_contents); in DispatchOnTabReplaced()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/extensions/api/web_navigation/
H A Dweb_navigation_api_helpers.h67 content::WebContents* new_web_contents);
H A Dweb_navigation_api_helpers.cc281 content::WebContents* new_web_contents) { in DispatchOnTabReplaced() argument
284 details.tab_id = ExtensionTabUtil::GetTabId(new_web_contents); in DispatchOnTabReplaced()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/ui/views/
H A Ddrag_and_drop_interactive_uitest.cc864 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_P() local
866 content::TestNavigationObserver(new_web_contents, 1).Wait(); in IN_PROC_BROWSER_TEST_P()
868 new_web_contents->GetMainFrame()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_P()
916 content::WebContents* new_web_contents = in IN_PROC_BROWSER_TEST_P() local
918 content::TestNavigationObserver(new_web_contents, 1).Wait(); in IN_PROC_BROWSER_TEST_P()
920 new_web_contents->GetMainFrame()->GetLastCommittedURL()); in IN_PROC_BROWSER_TEST_P()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/resource_coordinator/
H A Dtab_lifecycle_unit_source_unittest.cc485 std::unique_ptr<content::WebContents> new_web_contents = in TEST_F() local
487 content::WebContents* raw_new_web_contents = new_web_contents.get(); in TEST_F()
489 tab_strip_model_->ReplaceWebContentsAt(1, std::move(new_web_contents)); in TEST_F()
/dports/www/chromium-legacy/chromium-88.0.4324.182/chrome/browser/printing/
H A Dprint_preview_dialog_controller_browsertest.cc99 WebContents* new_web_contents) override { in DidCloneToNewWebContents() argument
101 std::make_unique<RequestPrintPreviewObserver>(new_web_contents); in DidCloneToNewWebContents()
H A Dprint_preview_pdf_generated_browsertest.cc293 WebContents* new_web_contents) override { in DidCloneToNewWebContents() argument
294 Observe(new_web_contents); in DidCloneToNewWebContents()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/chrome/browser/printing/
H A Dprint_preview_dialog_controller_browsertest.cc96 WebContents* new_web_contents) override { in DidCloneToNewWebContents() argument
98 std::make_unique<RequestPrintPreviewObserver>(new_web_contents); in DidCloneToNewWebContents()
/dports/www/chromium-legacy/chromium-88.0.4324.182/content/browser/webui/
H A Dweb_ui_navigation_browsertest.cc165 WebContents* new_web_contents = new_shell->web_contents(); in TestWebUISubframeNewWindowToWebAllowed() local
166 EXPECT_TRUE(WaitForLoadStop(new_web_contents)); in TestWebUISubframeNewWindowToWebAllowed()
168 EXPECT_EQ(web_url, new_web_contents->GetLastCommittedURL()); in TestWebUISubframeNewWindowToWebAllowed()
171 static_cast<WebContentsImpl*>(new_web_contents)->GetFrameTree()->root(); in TestWebUISubframeNewWindowToWebAllowed()
/dports/www/qt5-webengine/qtwebengine-everywhere-src-5.15.2/src/3rdparty/chromium/content/browser/webui/
H A Dweb_ui_navigation_browsertest.cc134 WebContents* new_web_contents = new_shell->web_contents(); in TestWebUISubframeNewWindowToWebAllowed() local
135 WaitForLoadStop(new_web_contents); in TestWebUISubframeNewWindowToWebAllowed()
137 EXPECT_EQ(web_url, new_web_contents->GetLastCommittedURL()); in TestWebUISubframeNewWindowToWebAllowed()
140 static_cast<WebContentsImpl*>(new_web_contents)->GetFrameTree()->root(); in TestWebUISubframeNewWindowToWebAllowed()

12