Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index cc7bf74e03190e346bf1a5cca8e487e9ff08c5df..3325fc6bfcc9e40a7eb2bcd5a4554b18ed3d0d11 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -569,6 +569,9 @@ IPC_STRUCT_BEGIN(ViewMsg_SwapOut_Params) |
| // cross-site transition. This is *not* a route_id, but the request that we |
| // will resume once the ACK from the closing view has been received. |
| IPC_STRUCT_MEMBER(int, new_request_id) |
| + |
| + // The identifier of the ContentFrame we need are becoming a proxy for. |
|
awong
2011/12/21 01:56:07
s/need//
supersat
2011/12/23 03:22:46
Done.
|
| + IPC_STRUCT_MEMBER(int64, content_frame_id) |
| IPC_STRUCT_END() |
| IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params) |
| @@ -637,12 +640,26 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params) |
| // The name of the frame associated with this view (or empty if none). |
| IPC_STRUCT_MEMBER(string16, frame_name) |
| + // The route ID of the opener RenderView if we need to set one (-1 otherwise) |
|
awong
2011/12/21 01:56:07
use a constant?
supersat
2011/12/23 03:22:46
Done.
|
| + IPC_STRUCT_MEMBER(int32, opener_route_id) |
|
jam
2011/12/22 20:06:53
nit: we usually send routing ids as just ints
supersat
2011/12/23 03:22:46
Done.
|
| + |
| // The initial page ID to use for this view, which must be larger than any |
| // existing navigation that might be loaded in the view. Page IDs are unique |
| // to a view and are only updated by the renderer after this initial value. |
| IPC_STRUCT_MEMBER(int32, next_page_id) |
| IPC_STRUCT_END() |
| +IPC_STRUCT_BEGIN(ViewMsg_PostMessage_Params) |
| + // The serialized script value |
| + IPC_STRUCT_MEMBER(string16, data) |
| + |
| + // The source origin |
| + IPC_STRUCT_MEMBER(string16, sourceOrigin) |
|
awong
2011/12/21 01:56:07
lowercase_and_underscores.
supersat
2011/12/23 03:22:46
Done.
|
| + |
| + // The target origin |
| + IPC_STRUCT_MEMBER(string16, targetOrigin) |
| +IPC_STRUCT_END() |
| + |
| // Messages sent from the browser to the renderer. |
| // Sent to the RenderView when a new tab is swapped into an existing |
| @@ -1968,3 +1985,11 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
| // whenever the mouse is unlocked (which may or may not be caused by |
| // ViewHostMsg_UnlockMouse). |
| IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| + |
| +IPC_MESSAGE_CONTROL2(ViewHostMsg_SendPostMessage, |
| + int64 /* browsing_process_frame_id */, |
| + ViewMsg_PostMessage_Params) |
| + |
| +IPC_MESSAGE_ROUTED2(ViewMsg_PostMessage, |
| + int64 /* frame_id */, |
| + ViewMsg_PostMessage_Params) |