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

Unified Diff: content/common/view_messages.h

Issue 16032007: Create RenderFrame/RenderFrameHost for the main frame of a page. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Removing routing ID expectations. Created 7 years, 7 months 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
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 40dc6be45d90018866fc9ed61d0d9dc49360dfae..9ea29edd39c76440b75fd49e40368d437a6db960 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -655,6 +655,9 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
// The ID of the view to be created.
IPC_STRUCT_MEMBER(int32, view_id)
+ // The ID of the main frame hosted in the view.
+ IPC_STRUCT_MEMBER(int32, main_frame_routing_id)
+
// The ID of the rendering surface.
IPC_STRUCT_MEMBER(int32, surface_id)
@@ -1325,9 +1328,10 @@ IPC_MESSAGE_ROUTED1(ViewMsg_Snapshot,
// Sent by the renderer when it is creating a new window. The browser creates
// a tab for it and responds with a ViewMsg_CreatingNew_ACK. If route_id is
// MSG_ROUTING_NONE, the view couldn't be created.
-IPC_SYNC_MESSAGE_CONTROL1_3(ViewHostMsg_CreateWindow,
+IPC_SYNC_MESSAGE_CONTROL1_4(ViewHostMsg_CreateWindow,
ViewHostMsg_CreateWindow_Params,
int /* route_id */,
+ int /* main_frame_route_id */,
int32 /* surface_id */,
int64 /* cloned_session_storage_namespace_id */)
« no previous file with comments | « content/browser/web_contents/web_contents_impl_unittest.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698