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

Unified Diff: content/common/view_messages.h

Issue 9609008: Implemented Browser Plugin (NOT FOR REVIEW) (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Merged with Tip-of-Tree 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
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/common/view_messages.h
diff --git a/content/common/view_messages.h b/content/common/view_messages.h
index 239c6c82257b54bbfd5dd888a1935ebda376cee4..33852595c90d67f0f80fb4c9484a59ac059bfb1a 100644
--- a/content/common/view_messages.h
+++ b/content/common/view_messages.h
@@ -1236,6 +1236,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,
@@ -1635,6 +1641,14 @@ 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_CONTROL3(ViewHostMsg_OpenChannelToBrowserPlugin,
+ int /* host routing id */,
+ int /* plugin instance id*/,
+ std::string /* src */)
+
+// 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.
@@ -1953,6 +1967,10 @@ IPC_MESSAGE_ROUTED0(ViewHostMsg_LockMouse)
// ViewHostMsg_UnlockMouse).
IPC_MESSAGE_ROUTED0(ViewHostMsg_UnlockMouse)
+
+IPC_MESSAGE_ROUTED2(ViewHostMsg_ResizeGuest,
+ 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
« no previous file with comments | « content/common/gpu/client/webgraphicscontext3d_command_buffer_impl.cc ('k') | content/content_browser.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698