| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef FrameClient_h | 5 #ifndef FrameClient_h |
| 6 #define FrameClient_h | 6 #define FrameClient_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 | 9 |
| 10 namespace blink { | 10 namespace blink { |
| (...skipping 16 matching lines...) Expand all Loading... |
| 27 virtual Frame* opener() const = 0; | 27 virtual Frame* opener() const = 0; |
| 28 virtual void setOpener(Frame*) = 0; | 28 virtual void setOpener(Frame*) = 0; |
| 29 | 29 |
| 30 virtual Frame* parent() const = 0; | 30 virtual Frame* parent() const = 0; |
| 31 virtual Frame* top() const = 0; | 31 virtual Frame* top() const = 0; |
| 32 virtual Frame* previousSibling() const = 0; | 32 virtual Frame* previousSibling() const = 0; |
| 33 virtual Frame* nextSibling() const = 0; | 33 virtual Frame* nextSibling() const = 0; |
| 34 virtual Frame* firstChild() const = 0; | 34 virtual Frame* firstChild() const = 0; |
| 35 virtual Frame* lastChild() const = 0; | 35 virtual Frame* lastChild() const = 0; |
| 36 | 36 |
| 37 virtual unsigned backForwardLength() = 0; |
| 38 |
| 37 // Returns true if the embedder intercepted the postMessage call | 39 // Returns true if the embedder intercepted the postMessage call |
| 38 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/, Me
ssageEvent*, LocalFrame* /*sourceFrame*/) const { return false; } | 40 virtual bool willCheckAndDispatchMessageEvent(SecurityOrigin* /*target*/, Me
ssageEvent*, LocalFrame* /*sourceFrame*/) const { return false; } |
| 39 | 41 |
| 40 virtual ~FrameClient() { } | 42 virtual ~FrameClient() { } |
| 41 }; | 43 }; |
| 42 | 44 |
| 43 } // namespace blink | 45 } // namespace blink |
| 44 | 46 |
| 45 #endif // FrameClient_h | 47 #endif // FrameClient_h |
| OLD | NEW |