Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1731)

Unified Diff: content/common/view_messages.h

Issue 9924026: Browser side implementation of browser plugin (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Updated RenderProcessHostImpl Created 8 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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

Powered by Google App Engine
This is Rietveld 408576698