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

Unified Diff: content/common/browser_plugin_messages.h

Issue 11826005: Browser Plugin: Implement BrowserPluginObserver. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Clean up bindings API Created 7 years, 10 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/browser_plugin_messages.h
diff --git a/content/common/browser_plugin_messages.h b/content/common/browser_plugin_messages.h
index bd9c98787106d5679c8f3e80d4c356dbc5c93e2a..a181569aceac12464c219e9954ad23d0de6e2cf4 100644
--- a/content/common/browser_plugin_messages.h
+++ b/content/common/browser_plugin_messages.h
@@ -132,6 +132,12 @@ IPC_STRUCT_END()
IPC_MESSAGE_ROUTED1(BrowserPluginHostMsg_AllocateInstanceID,
int /* request_id */)
+// Used by the embedder process to forward messages to
+// BrowserPluginGuestObservers.
Charlie Reis 2013/02/28 02:12:03 I'm not sure if this is ok from a security perspec
Fady Samuel 2013/02/28 22:56:21 See https://chromiumcodereview.appspot.com/1232616
+IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_ForwardMessage,
+ int /* instance_id */,
+ IPC::Message /* message */)
+
// This message is sent to the browser process to enable or disable autosize
// mode.
IPC_MESSAGE_ROUTED3(
@@ -256,6 +262,11 @@ IPC_MESSAGE_ROUTED2(BrowserPluginMsg_AllocateInstanceID_ACK,
int /* request_id */,
int /* instance_id */)
+// Used by the browser process to forward messages to BrowserPluginObservers.
+IPC_MESSAGE_ROUTED2(BrowserPluginMsg_ForwardMessage,
+ int /* instance_id */,
+ IPC::Message /* message */)
+
// Once the swapped out guest RenderView has been created in the embedder render
// process, the browser process informs the embedder of its routing ID.
IPC_MESSAGE_ROUTED2(BrowserPluginMsg_GuestContentWindowReady,
« no previous file with comments | « no previous file | content/content_renderer.gypi » ('j') | content/public/renderer/browser_plugin/browser_plugin.h » ('J')

Powered by Google App Engine
This is Rietveld 408576698