| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index e63bd68ac41a8d83ff57c98efb90f3d5894742f9..58b3b8b857ffcf67ba23bc2e6f0ee9f0aa091ee3 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -562,6 +562,10 @@ 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 browsing instance frame we need to install a DOM
|
| + // proxy for.
|
| + IPC_STRUCT_MEMBER(int64, browsing_instance_frame_id)
|
| IPC_STRUCT_END()
|
|
|
| IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params)
|
| @@ -603,6 +607,9 @@ IPC_STRUCT_BEGIN(ViewMsg_Navigate_Params)
|
| // Extra headers (separated by \n) to send during the request.
|
| IPC_STRUCT_MEMBER(std::string, extra_headers)
|
|
|
| + // The browsing instance frame id of the opener, or -1 if none
|
| + IPC_STRUCT_MEMBER(int64, opener_browsing_instance_frame_id)
|
| +
|
| // The following two members identify a previous request that has been
|
| // created before this navigation is being transferred to a new render view.
|
| // This serves the purpose of recycling the old request.
|
| @@ -631,6 +638,31 @@ IPC_STRUCT_BEGIN(ViewMsg_New_Params)
|
| IPC_STRUCT_MEMBER(string16, frame_name)
|
| 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)
|
| +
|
| + // The target origin
|
| + IPC_STRUCT_MEMBER(string16, targetOrigin)
|
| +IPC_STRUCT_END()
|
| +
|
| +IPC_STRUCT_BEGIN(ViewMsg_SetOpenerProxy_Params)
|
| + IPC_STRUCT_MEMBER(int, render_process_host_id)
|
| + IPC_STRUCT_MEMBER(int, render_route_id)
|
| + // TODO(supersat): Frame identifier?
|
| +IPC_STRUCT_END()
|
| +
|
| +IPC_STRUCT_BEGIN(ViewHostMsg_OpenURL_Params)
|
| + IPC_STRUCT_MEMBER(GURL, url)
|
| + IPC_STRUCT_MEMBER(content::Referrer, referrer)
|
| + IPC_STRUCT_MEMBER(WindowOpenDisposition, disposition)
|
| + IPC_STRUCT_MEMBER(int64, source_frame_id)
|
| + IPC_STRUCT_MEMBER(int64, opener_frame_id)
|
| +IPC_STRUCT_END()
|
| +
|
| // Messages sent from the browser to the renderer.
|
|
|
| // Used typically when recovering from a crash. The new rendering process
|
| @@ -1594,11 +1626,8 @@ IPC_SYNC_MESSAGE_ROUTED4_2(ViewHostMsg_RunJavaScriptMessage,
|
| string16 /* out - user_input field */)
|
|
|
| // Requests that the given URL be opened in the specified manner.
|
| -IPC_MESSAGE_ROUTED4(ViewHostMsg_OpenURL,
|
| - GURL /* url */,
|
| - content::Referrer /* referrer */,
|
| - WindowOpenDisposition /* disposition */,
|
| - int64 /* frame id */)
|
| +IPC_MESSAGE_ROUTED1(ViewHostMsg_OpenURL,
|
| + ViewHostMsg_OpenURL_Params)
|
|
|
| // Notifies that the preferred size of the content changed.
|
| IPC_MESSAGE_ROUTED1(ViewHostMsg_DidContentsPreferredSizeChange,
|
| @@ -1964,3 +1993,14 @@ 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)
|
| +
|
| +IPC_MESSAGE_ROUTED1(ViewMsg_SetOpenerProxy,
|
| + ViewMsg_SetOpenerProxy_Params)
|
|
|