Home
last modified time | relevance | path

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

/external/chromium_org/chrome/browser/sessions/
Dsession_restore_android.cc34 content::WebContents* new_web_contents = content::WebContents::Create( in RestoreForeignSessionTab() local
37 new_web_contents->GetController().Restore( in RestoreForeignSessionTab()
45 current_tab->SwapTabContents(web_contents, new_web_contents, false, false); in RestoreForeignSessionTab()
50 tab_model->CreateTab(new_web_contents, current_tab->GetAndroidId()); in RestoreForeignSessionTab()
52 return new_web_contents; in RestoreForeignSessionTab()
/external/chromium_org/chrome/browser/dom_distiller/
Dtab_utils.cc141 content::WebContents* new_web_contents = in DistillCurrentPageAndView() local
143 DCHECK(new_web_contents); in DistillCurrentPageAndView()
146 new_web_contents->GetController().CopyStateFrom( in DistillCurrentPageAndView()
153 StartNavigationToDistillerViewer(new_web_contents, in DistillCurrentPageAndView()
157 old_web_contents, new_web_contents, false, false); in DistillCurrentPageAndView()
/external/chromium_org/chrome/browser/ui/search/
Dinstant_page.cc54 void InstantPage::SetContents(content::WebContents* new_web_contents) { in SetContents() argument
57 if (!new_web_contents) in SetContents()
60 Observe(new_web_contents); in SetContents()
/external/chromium_org/chrome/browser/prerender/
Dprerender_manager.cc484 WebContents* new_web_contents = SwapInternal( in MaybeUsePrerenderedPage() local
487 if (!new_web_contents) in MaybeUsePrerenderedPage()
491 params->target_contents = new_web_contents; in MaybeUsePrerenderedPage()
521 if (WebContents* new_web_contents = in SwapInternal() local
523 if (web_contents == new_web_contents) in SwapInternal()
531 if (!new_web_contents->GetController().CanPruneAllButLastCommitted()) { in SwapInternal()
633 WebContents* new_web_contents = in SwapInternal() local
636 DCHECK(new_web_contents); in SwapInternal()
640 new_web_contents->GetController().CopyStateFromAndPrune( in SwapInternal()
645 new_web_contents, in SwapInternal()
[all …]
Dprerender_browsertest.cc1731 bool new_web_contents) const { in OpenURLWithJSImpl()
1739 if (new_web_contents) { in OpenURLWithJSImpl()
/external/chromium_org/chrome/browser/printing/
Dprint_preview_dialog_controller_browsertest.cc70 WebContents* new_web_contents) OVERRIDE { in DidCloneToNewWebContents() argument
72 new RequestPrintPreviewObserver(new_web_contents)); in DidCloneToNewWebContents()
Dprint_preview_pdf_generated_browsertest.cc282 WebContents* new_web_contents) OVERRIDE { in DidCloneToNewWebContents() argument
283 Observe(new_web_contents); in DidCloneToNewWebContents()
/external/chromium_org/chrome/browser/extensions/api/web_navigation/
Dweb_navigation_api_helpers.h64 content::WebContents* new_web_contents);
Dweb_navigation_api_helpers.cc225 content::WebContents* new_web_contents) { in DispatchOnTabReplaced() argument
232 ExtensionTabUtil::GetTabId(new_web_contents)); in DispatchOnTabReplaced()
/external/chromium_org/chrome/browser/extensions/
Dtab_helper.cc281 WebContents* new_web_contents) { in DidCloneToNewWebContents() argument
284 CreateForWebContents(new_web_contents); in DidCloneToNewWebContents()
285 TabHelper* new_helper = FromWebContents(new_web_contents); in DidCloneToNewWebContents()
Dtab_helper.h155 content::WebContents* new_web_contents) OVERRIDE;
/external/chromium_org/ui/views/controls/webview/
Dwebview.cc128 scoped_ptr<content::WebContents> new_web_contents) { in SwapWebContents() argument
132 wc_owner_ = new_web_contents.Pass(); in SwapWebContents()
Dwebview.h99 scoped_ptr<content::WebContents> new_web_contents);
/external/chromium_org/content/browser/frame_host/
Drender_frame_host_manager_browsertest.cc1450 WebContentsImpl* new_web_contents = static_cast<WebContentsImpl*>( in IN_PROC_BROWSER_TEST_F() local
1452 SiteInstance* site_instance2 = new_web_contents->GetSiteInstance(); in IN_PROC_BROWSER_TEST_F()
1456 RenderViewHost* initial_rvh = new_web_contents-> in IN_PROC_BROWSER_TEST_F()
1466 EXPECT_EQ(new_web_contents->GetSiteInstance(), site_instance1); in IN_PROC_BROWSER_TEST_F()
1468 new_web_contents->GetRenderViewHost()->GetEnabledBindings()); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/browser/web_contents/
Dweb_contents_impl_browsertest.cc464 WebContents* new_web_contents = new_web_contents_observer.GetWebContents(); in IN_PROC_BROWSER_TEST_F() local
465 WaitForLoadStop(new_web_contents); in IN_PROC_BROWSER_TEST_F()
/external/chromium_org/content/public/browser/
Dweb_contents_observer.h279 WebContents* new_web_contents) {} in DidCloneToNewWebContents() argument
/external/chromium_org/chrome/browser/ui/cocoa/tab_contents/
Dtab_contents_controller.mm38 void Observe(content::WebContents* new_web_contents) {
39 WebContentsObserver::Observe(new_web_contents);
/external/chromium_org/chrome/browser/ui/fullscreen/
Dfullscreen_controller_state_unittest.cc474 content::WebContents* new_web_contents = content::WebContents::Create( in TEST_F() local
478 0, new_web_contents)); in TEST_F()
/external/chromium_org/content/browser/renderer_host/
Drender_view_host_unittest.cc112 scoped_ptr<TestWebContents> new_web_contents( in TEST_F() local
/external/chromium_org/chrome/browser/sync/sessions/
Dsessions_sync_manager_unittest.cc1797 WebContents* new_web_contents = WebContents::CreateWithSessionStorage( in TEST_F() local
1800 SessionTabHelper::CreateForWebContents(new_web_contents); in TEST_F()
1801 TabContentsSyncedTabDelegate::CreateForWebContents(new_web_contents); in TEST_F()
1802 new_web_contents->GetController() in TEST_F()
1808 browser()->tab_strip_model()->ReplaceWebContentsAt(index, new_web_contents); in TEST_F()