Chromium Code Reviews| 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) |
|
palmer
2013/05/30 20:58:39
Looking around, seems like this is declared as int
nasko
2013/05/30 21:05:42
Yes. I've kept it like this for consistency with s
|
| + |
| // 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 */, |
|
palmer
2013/05/30 20:58:39
Shouldn't this be int32, as declared on line 659?
nasko
2013/05/30 21:05:42
See the above comment about surrounding code consi
|
| int32 /* surface_id */, |
| int64 /* cloned_session_storage_namespace_id */) |