Chromium Code Reviews| Index: content/common/view_messages.h |
| diff --git a/content/common/view_messages.h b/content/common/view_messages.h |
| index 8916bbfc0e3c322d3502e58edf7265c9d3193ee7..b9f526ba4b4afdcbdd0e1f6f779c41339aedfd6d 100644 |
| --- a/content/common/view_messages.h |
| +++ b/content/common/view_messages.h |
| @@ -1254,6 +1254,12 @@ IPC_SYNC_MESSAGE_ROUTED0_0(ViewHostMsg_RunModal) |
| // a ViewMsg_CreatingNew_ACK. |
| IPC_MESSAGE_ROUTED0(ViewHostMsg_RenderViewReady) |
| +// A guest instance is ready to be placed. |
| +IPC_MESSAGE_ROUTED3(ViewMsg_GuestReady, |
| + int /* instance id */, |
| + base::ProcessHandle /* plugin_process_handle */, |
| + IPC::ChannelHandle /* handle to channel */) |
| + |
| // Indicates the renderer process is gone. This actually is sent by the |
| // browser process to itself, but keeps the interface cleaner. |
| IPC_MESSAGE_ROUTED2(ViewHostMsg_RenderViewGone, |
| @@ -1653,6 +1659,16 @@ IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin, |
| IPC::ChannelHandle /* handle to channel */) |
| // A renderer sends this to the browser process when it wants to |
| +// create a browser plugin. The browser will create the plugin process if |
| +// necessary, and will return a handle to the channel on success. |
| +IPC_MESSAGE_CONTROL5(ViewHostMsg_OpenChannelToBrowserPlugin, |
| + int /* host routing id */, |
| + int /* plugin instance id*/, |
| + long long /* frame id */, |
| + std::string /* src */, |
| + gfx::Size /* size */) |
| + |
| +// A renderer sends this to the browser process when it wants to |
| // create a ppapi broker. The browser will create the broker process |
| // if necessary, and will return a handle to the channel on success. |
| // On error an empty string is returned. |
| @@ -1984,6 +2000,10 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse) |
| // ViewHostMsg_UnlockMouse). |
| IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse) |
| + |
| +IPC_MESSAGE_ROUTED2(ViewHostMsg_ResizeGuest, |
|
jam
2012/03/30 05:44:11
nit: put all the guest ViewHostMsg's beside each o
Fady Samuel
2012/04/03 17:01:45
Done.
|
| + int32, /* width */ |
| + int32 /* height */); |
| // Following message is used to communicate the values received by the |
| // callback binding the JS to Cpp. |
| // An instance of browser that has an automation host listening to it can |