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

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: 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/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 5ed632566d40128bce41c8568f97d9b018342258..0e02d60539a29752bff1cb686dffb9adcae88bfd 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 ViewMsg_PostMessage_Params;
namespace content {
class ColorChooser;
@@ -311,6 +312,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 ViewMsg_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