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

Unified Diff: content/browser/web_contents/web_contents_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/web_contents/web_contents_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 934ad7a50463b22c8b8c717ebe9aae80efcf21e2..970597d3df827f0a51aab8161b34a3bb0a1ab413 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -35,6 +35,7 @@
class InterstitialPageImpl;
class SavePackage;
class SessionStorageNamespaceImpl;
+struct ViewHostMsg_PostMessage_Params;
namespace content {
class ColorChooser;
@@ -309,6 +310,9 @@ class CONTENT_EXPORT WebContentsImpl
int64 source_frame_id,
const content::GlobalRequestID& transferred_global_request_id) OVERRIDE;
virtual void RouteCloseEvent(content::RenderViewHost* rvh) OVERRIDE;
+ virtual void RouteMessageEvent(
+ content::RenderViewHost* rvh,
+ const ViewHostMsg_PostMessage_Params& params) OVERRIDE;
virtual void RunJavaScriptMessage(content::RenderViewHost* rvh,
const string16& message,
const string16& default_prompt,

Powered by Google App Engine
This is Rietveld 408576698