| Index: content/renderer/render_view_impl.h
|
| diff --git a/content/renderer/render_view_impl.h b/content/renderer/render_view_impl.h
|
| index 8e5522a2db4342d4d1409dee4717c2177cebe7bd..d410076c261e509838d0980a3a40d767877f6cfc 100644
|
| --- a/content/renderer/render_view_impl.h
|
| +++ b/content/renderer/render_view_impl.h
|
| @@ -43,6 +43,7 @@
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebNode.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageSerializerClient.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebPageVisibilityState.h"
|
| +#include "third_party/WebKit/Source/WebKit/chromium/public/WebSecurityOrigin.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebTextDirection.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/WebViewClient.h"
|
| #include "third_party/WebKit/Source/WebKit/chromium/public/platform/WebFileSystem.h"
|
| @@ -80,6 +81,7 @@ class RendererAccessibility;
|
| class RendererWebColorChooserImpl;
|
| class SkBitmap;
|
| class InputTagSpeechDispatcher;
|
| +struct ViewHostMsg_PostMessage_Params;
|
| struct ViewMsg_Navigate_Params;
|
| struct ViewMsg_StopFinding_Params;
|
| struct ViewMsg_SwapOut_Params;
|
| @@ -120,6 +122,7 @@ class ResourceFetcher;
|
| namespace WebKit {
|
| class WebApplicationCacheHost;
|
| class WebApplicationCacheHostClient;
|
| +class WebDOMMessageEvent;
|
| class WebDataSource;
|
| class WebDragData;
|
| class WebGeolocationClient;
|
| @@ -596,6 +599,11 @@ class RenderViewImpl : public RenderWidget,
|
| virtual void willOpenSocketStream(
|
| WebKit::WebSocketStreamHandle* handle);
|
|
|
| + virtual bool willCheckAndDispatchMessageEvent(
|
| + WebKit::WebFrame* source,
|
| + WebKit::WebSecurityOrigin targetOrigin,
|
| + WebKit::WebDOMMessageEvent event) OVERRIDE;
|
| +
|
| // WebKit::WebPageSerializerClient implementation ----------------------------
|
|
|
| virtual void didSerializeDataForFrame(
|
| @@ -872,6 +880,7 @@ class RenderViewImpl : public RenderWidget,
|
| #if defined(OS_MACOSX)
|
| void OnPluginImeCompositionCompleted(const string16& text, int plugin_id);
|
| #endif
|
| + void OnPostMessageEvent(const ViewHostMsg_PostMessage_Params& params);
|
| void OnRedo();
|
| void OnReloadFrame();
|
| void OnReplace(const string16& text);
|
|
|