Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2284)

Unified Diff: content/browser/tab_contents/interstitial_page.cc

Issue 8760024: Cross-process postMessage (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Some cleanup Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: content/browser/tab_contents/interstitial_page.cc
diff --git a/content/browser/tab_contents/interstitial_page.cc b/content/browser/tab_contents/interstitial_page.cc
index ed7f3c651b5c7944c0c0b983a98db7db96db46bd..2366d73192a498ce54a2800972015e2b768e6ca5 100644
--- a/content/browser/tab_contents/interstitial_page.cc
+++ b/content/browser/tab_contents/interstitial_page.cc
@@ -71,7 +71,8 @@ class InterstitialPage::InterstitialPageRVHViewDelegate
// RenderViewHostDelegate::View implementation:
virtual void CreateNewWindow(
int route_id,
- const ViewHostMsg_CreateWindow_Params& params);
+ const ViewHostMsg_CreateWindow_Params& params,
+ content::ContentFrame* opener);
virtual void CreateNewWidget(int route_id,
WebKit::WebPopupType popup_type);
virtual void CreateNewFullscreenWidget(int route_id);
@@ -414,7 +415,8 @@ TabContentsView* InterstitialPage::CreateTabContentsView() {
int32 max_page_id =
tab()->GetMaxPageIDForSiteInstance(render_view_host_->site_instance());
- render_view_host_->CreateRenderView(string16(), max_page_id);
+ render_view_host_->CreateRenderView(string16(), MSG_ROUTING_NONE,
+ max_page_id);
view->SetSize(tab_contents_view->GetContainerSize());
// Don't show the interstitial until we have navigated to it.
view->Hide();
@@ -587,7 +589,8 @@ InterstitialPage::InterstitialPageRVHViewDelegate::
void InterstitialPage::InterstitialPageRVHViewDelegate::CreateNewWindow(
int route_id,
- const ViewHostMsg_CreateWindow_Params& params) {
+ const ViewHostMsg_CreateWindow_Params& params,
+ content::ContentFrame* opener) {
NOTREACHED() << "InterstitialPage does not support showing popups yet.";
}

Powered by Google App Engine
This is Rietveld 408576698