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

Unified Diff: content/common/browser_plugin_messages.h

Issue 10829225: Browser Plugin: Add HTML5-like postMessage support (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fixed crash + cleanup Created 8 years, 3 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 17ddffff5960a7e7fa351ff6b7ec2d125d0ed714..169043479a4dcefa6cfd7935a705048c038ed2d6 100644
--- a/content/common/browser_plugin_messages.h
+++ b/content/common/browser_plugin_messages.h
@@ -27,6 +27,11 @@
// -----------------------------------------------------------------------------
// These messages are from the embedder to the browser process.
+IPC_MESSAGE_ROUTED3(BrowserPluginHostMsg_RouteMessageEvent,
+ int /* instance_id */,
+ string16 /* data */,
+ string16 /* target_origin */)
+
// Tells the guest to focus or defocus itself.
IPC_MESSAGE_ROUTED2(BrowserPluginHostMsg_SetFocus,
int /* instance_id */,
@@ -98,6 +103,13 @@ IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest,
// -----------------------------------------------------------------------------
// These messages are from the browser process to the embedder.
+IPC_MESSAGE_CONTROL4(BrowserPluginMsg_ReceiveMessage,
+ int /* instance_id */,
+ int /* source_routing_id */,
+ string16 /* source_origin */,
+ string16 /* data */)
+
+
// When the guest navigates, the browser process informs the embedder through
// the BrowserPluginMsg_DidNavigate message.
IPC_MESSAGE_CONTROL2(BrowserPluginMsg_DidNavigate,

Powered by Google App Engine
This is Rietveld 408576698