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

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: Rename struct, hide 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 91a7cc9ddb7eeff5cd13c346bcadd51ddea3125a..b6bb2c92b7b156a2fe08fb191eb22505499626f6 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 ViewMsg_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 ViewMsg_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