Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / third_party / WebKit / Source / core / frame / FrameClient.h
index 22eef16..d7adbc2 100644 (file)
@@ -8,9 +8,14 @@
 namespace blink {
 
 class Frame;
+class LocalFrame;
+class MessageEvent;
+class SecurityOrigin;
 
 class FrameClient {
 public:
+    virtual void detached() = 0;
+
     virtual Frame* opener() const = 0;
     virtual void setOpener(Frame*) = 0;
 
@@ -21,6 +26,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() { }
 };