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

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

Issue 8760024: Cross-process postMessage (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Created 9 years, 1 month 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.h
diff --git a/content/browser/renderer_host/render_view_host.h b/content/browser/renderer_host/render_view_host.h
index 468688eec80c076a3953acf9e2dce3d286a4a0fd..4ae6231861ed8c549164f1d9774d5edd53c5c5ee 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -41,9 +41,12 @@ struct ContextMenuParams;
struct MediaPlayerAction;
struct ViewHostMsg_AccessibilityNotification_Params;
struct ViewHostMsg_CreateWindow_Params;
+struct ViewHostMsg_OpenURL_Params;
struct ViewHostMsg_ShowPopup_Params;
struct ViewMsg_Navigate_Params;
+struct ViewMsg_PostMessage_Params;
struct ViewMsg_StopFinding_Params;
+struct ViewMsg_SwapOut_Params;
struct WebDropData;
struct WebPreferences;
@@ -527,10 +530,7 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
void OnMsgDocumentOnLoadCompletedInMainFrame(int32 page_id);
void OnMsgContextMenu(const ContextMenuParams& params);
void OnMsgToggleFullscreen(bool enter_fullscreen);
- void OnMsgOpenURL(const GURL& url,
- const GURL& referrer,
- WindowOpenDisposition disposition,
- int64 source_frame_id);
+ void OnMsgOpenURL(const ViewHostMsg_OpenURL_Params& params);
void OnMsgDidContentsPreferredSizeChange(const gfx::Size& new_size);
void OnMsgDidChangeScrollbarsForMainFrame(bool has_horizontal_scrollbar,
bool has_vertical_scrollbar);
@@ -584,6 +584,9 @@ class CONTENT_EXPORT RenderViewHost : public RenderWidgetHost {
void OnWebUISend(const GURL& source_url, const std::string& name,
const base::ListValue& args);
+ void OnSendPostMessage(int64 browsing_instance_frame_id,
+ const ViewMsg_PostMessage_Params& params);
+
#if defined(OS_MACOSX)
void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
#endif

Powered by Google App Engine
This is Rietveld 408576698