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

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: New patch, still not quite done Created 9 years 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 25f2006549b068305cb3e1387d745838c9a65f7f..f4910d39480cf9e8eff441c026b6e129e11d8840 100644
--- a/content/browser/renderer_host/render_view_host.h
+++ b/content/browser/renderer_host/render_view_host.h
@@ -42,9 +42,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;
@@ -534,10 +537,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 content::Referrer& 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);
@@ -592,6 +592,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);
Charlie Reis 2011/12/12 22:20:36 What's this? It isn't implemented in render_view_
supersat 2011/12/15 19:30:49 Old code. Removed.
+
#if defined(OS_MACOSX)
void OnMsgShowPopup(const ViewHostMsg_ShowPopup_Params& params);
#endif

Powered by Google App Engine
This is Rietveld 408576698