| Index: Source/core/frame/FrameClient.h
|
| diff --git a/Source/core/frame/FrameClient.h b/Source/core/frame/FrameClient.h
|
| index 22eef163f170a6d858af69212ce1fcf831014b26..3d388af7e400acfa0dedc1363c59a1455bb4e504 100644
|
| --- a/Source/core/frame/FrameClient.h
|
| +++ b/Source/core/frame/FrameClient.h
|
| @@ -8,6 +8,9 @@
|
| namespace blink {
|
|
|
| class Frame;
|
| +class LocalFrame;
|
| +class MessageEvent;
|
| +class SecurityOrigin;
|
|
|
| class FrameClient {
|
| public:
|
| @@ -21,6 +24,9 @@ public:
|
| virtual Frame* firstChild() const = 0;
|
| virtual Frame* lastChild() const = 0;
|
|
|
| + // Returns true if the embedder intercepted the postMessage call
|
| + virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/, MessageEvent*, LocalFrame* /*sourceFrame*/) const { return false; }
|
| +
|
| virtual ~FrameClient() { }
|
| };
|
|
|
|
|