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

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 message names 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 177c153ff68cde469f63d54cbcbad32b24ebfd12..93387ff8935a11536cdac44d70984fb9c89655f2 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1652,6 +1652,31 @@ IPC_SYNC_MESSAGE_CONTROL1_2(ViewHostMsg_OpenChannelToPepperPlugin,
base::ProcessHandle /* plugin_process_handle */,
IPC::ChannelHandle /* handle to channel */)
+// A guest instance is ready to be placed.
+IPC_MESSAGE_ROUTED3(ViewMsg_GuestReady_ACK,
+ int /* instance id */,
+ base::ProcessHandle /* plugin_process_handle */,
+ IPC::ChannelHandle /* handle to channel */)
+
+// Indicates the guest renderer is ready in response to a ViewMsg_New
+IPC_MESSAGE_ROUTED0(ViewHostMsg_GuestReady)
+
+// 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_ROUTED4(ViewHostMsg_OpenChannelToBrowserPlugin,
+ int /* plugin instance id*/,
+ long long /* frame id */,
+ std::string /* src */,
+ gfx::Size /* size */)
+
+// A host renderer sends this message to the browser when it wants
+// to resize a guest plugin container so that the guest is relaid out
+// according to the new size.
+IPC_MESSAGE_ROUTED2(ViewHostMsg_ResizeGuest,
+ int32, /* width */
+ int32 /* height */);
+
// 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.

Powered by Google App Engine
This is Rietveld 408576698