| Index: ppapi/proxy/ppapi_messages.h
|
| diff --git a/ppapi/proxy/ppapi_messages.h b/ppapi/proxy/ppapi_messages.h
|
| index 48a10fd6102c0cc2b1ba6f0e623c00c1d5d79c9c..66f7615084bde4625fe9f57991f238c24cdb494f 100644
|
| --- a/ppapi/proxy/ppapi_messages.h
|
| +++ b/ppapi/proxy/ppapi_messages.h
|
| @@ -1296,6 +1296,28 @@ IPC_SYNC_MESSAGE_CONTROL2_2(PpapiHostMsg_ResourceSyncCall,
|
| ppapi::proxy::ResourceMessageReplyParams /* reply_params */,
|
| IPC::Message /* reply_msg */)
|
|
|
| +// This message is sent from the renderer to the browser when it wants to create
|
| +// a ResourceHost in the browser. It contains the process ID of the plugin and
|
| +// the instance of the plugin for which to create the resource for. params
|
| +// contains the sequence number for the message to track the response.
|
| +// The nested message is a ResourceHost creation message.
|
| +IPC_MESSAGE_CONTROL4(
|
| + PpapiHostMsg_CreateResourceHostFromHost,
|
| + int /* child_process_id */,
|
| + ppapi::proxy::ResourceMessageCallParams /* params */,
|
| + PP_Instance /* instance */,
|
| + IPC::Message /* nested_msg */)
|
| +
|
| +// This message is sent from the browser to the renderer when it has created a
|
| +// ResourceHost for the renderer. It contains the sequence number that was sent
|
| +// in the request and the ID of the pending ResourceHost which was created in
|
| +// the browser. This ID is only useful for the plugin which can attach to the
|
| +// ResourceHost in the browser.
|
| +IPC_MESSAGE_CONTROL2(
|
| + PpapiHostMsg_CreateResourceHostFromHostReply,
|
| + int32_t /* sequence */,
|
| + int /* pending_host_id */)
|
| +
|
| //-----------------------------------------------------------------------------
|
| // Messages for resources using call/reply above.
|
|
|
|
|