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

Unified Diff: content/browser/frame_host/render_frame_proxy_host.h

Issue 1046933005: Refactor postMessage for out-of-process iframes. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Enable SupportCrossProcessPostMessage test on FYI bots Created 5 years, 9 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/frame_host/render_frame_proxy_host.h
diff --git a/content/browser/frame_host/render_frame_proxy_host.h b/content/browser/frame_host/render_frame_proxy_host.h
index 964750691590097a83f9ac91972fc406ce43110a..f9fd02b178b2ac0b946b6f953f3beccb86b4d5f6 100644
--- a/content/browser/frame_host/render_frame_proxy_host.h
+++ b/content/browser/frame_host/render_frame_proxy_host.h
@@ -11,6 +11,8 @@
#include "ipc/ipc_listener.h"
#include "ipc/ipc_sender.h"
+struct FrameMsg_PostMessage_Params;
+
namespace content {
class CrossProcessFrameConnector;
@@ -116,6 +118,7 @@ class RenderFrameProxyHost
private:
// IPC Message handlers.
void OnOpenURL(const FrameHostMsg_OpenURL_Params& params);
+ void OnRouteMessageEvent(const FrameMsg_PostMessage_Params& params);
// This RenderFrameProxyHost's routing id.
int routing_id_;

Powered by Google App Engine
This is Rietveld 408576698