| Index: content/common/view_messages.h
|
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h
|
| index 971e5652a99184943b8f0073a846ccbd175eedd2..540323ab2356e1e39c2d6464a1818c84d40b1844 100644
|
| --- a/content/common/view_messages.h
|
| +++ b/content/common/view_messages.h
|
| @@ -550,6 +550,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)
|
| @@ -591,6 +595,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)
|
| IPC_STRUCT_END()
|
|
|
| IPC_STRUCT_BEGIN(ViewMsg_New_Params)
|
| @@ -613,6 +620,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 target origin
|
| + IPC_STRUCT_MEMBER(string16, origin)
|
| +
|
| + // The last event id
|
| + IPC_STRUCT_MEMBER(string16, lastEventId)
|
| +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(GURL, 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
|
| @@ -1549,11 +1581,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 */,
|
| - GURL /* 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,
|
| @@ -1919,3 +1948,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)
|
|
|