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

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: Merge with ToT. Added subframe targeting + test. Created 8 years, 2 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 563684b4b10e63ed842fbd17dfc4ae0364ce6d7f..3ee8dfcbc72eb5d97e4e95bf041aaaa3d38faae2 100644
--- a/content/common/browser_plugin_messages.h
+++ b/content/common/browser_plugin_messages.h
@@ -125,6 +125,29 @@ IPC_SYNC_MESSAGE_ROUTED2_0(BrowserPluginHostMsg_ResizeGuest,
// -----------------------------------------------------------------------------
// These messages are from the browser process to the embedder.
+IPC_MESSAGE_CONTROL2(BrowserPluginMsg_GuestContentWindowReady,
nasko 2012/10/02 17:52:31 Comment on when/why this is sent?
Fady Samuel 2012/10/02 22:04:08 Done.
+ int /* instance_id */,
+ int /* source_routing_id */)
+
+IPC_STRUCT_BEGIN(BrowserPluginMsg_ReceiveMessage_Params)
+ // The routing ID of the swapped out RenderView of the guest
+ // in the embedder render process.
+ IPC_STRUCT_MEMBER(int, source_routing_id)
+ // The origin of the source frame.
+ IPC_STRUCT_MEMBER(string16, source_origin)
+ // The identifier of the source frame in the source process.
+ IPC_STRUCT_MEMBER(int, source_frame_id)
+ // The identifier of the target frame in the target process.
+ IPC_STRUCT_MEMBER(int, target_frame_id)
+ // The serialized script value.
+ IPC_STRUCT_MEMBER(string16, data)
+IPC_STRUCT_END()
+
+IPC_MESSAGE_CONTROL2(BrowserPluginMsg_ReceiveMessage,
nasko 2012/10/02 17:52:31 A comment on when/why this is sent will be nice.
Fady Samuel 2012/10/02 22:04:08 Done.
+ int /* instance_id */,
+ BrowserPluginMsg_ReceiveMessage_Params /* params */)
+
+
// When the guest navigates, the browser process informs the embedder through
// the BrowserPluginMsg_DidNavigate message.
IPC_MESSAGE_CONTROL3(BrowserPluginMsg_DidNavigate,

Powered by Google App Engine
This is Rietveld 408576698