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

Unified Diff: content/browser/renderer_host/render_view_host_impl.h

Issue 9108001: Adds support for calling postMessage on a frame living in a different renderer. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Use FromRoutingID Created 8 years, 7 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/browser/renderer_host/render_view_host_impl.h
diff --git a/content/browser/renderer_host/render_view_host_impl.h b/content/browser/renderer_host/render_view_host_impl.h
index a67abf0682f9fe2c8af1384259be6dc9f6bffdf3..5539f8af8ab98844683eef8c9347f7a3f703c4e7 100644
--- a/content/browser/renderer_host/render_view_host_impl.h
+++ b/content/browser/renderer_host/render_view_host_impl.h
@@ -38,6 +38,7 @@ struct ViewHostMsg_CreateWindow_Params;
struct ViewHostMsg_DidFailProvisionalLoadWithError_Params;
struct ViewHostMsg_ShowPopup_Params;
struct ViewMsg_Navigate_Params;
+struct ViewHostMsg_PostMessage_Params;
struct ViewMsg_StopFinding_Params;
namespace base {
@@ -485,6 +486,7 @@ class CONTENT_EXPORT RenderViewHostImpl
const gfx::Rect& end_rect);
void OnMsgPasteFromSelectionClipboard();
void OnMsgRouteCloseEvent();
+ void OnMsgRouteMessageEvent(const ViewHostMsg_PostMessage_Params& params);
void OnMsgRunJavaScriptMessage(const string16& message,
const string16& default_prompt,
const GURL& frame_url,

Powered by Google App Engine
This is Rietveld 408576698