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 namespace blink { | 8 namespace blink { |
9 | 9 |
10 class Frame; | 10 class Frame; |
11 | 11 |
12 class FrameClient { | 12 class FrameClient { |
13 public: | 13 public: |
| 14 virtual void detached() = 0; |
| 15 |
14 virtual Frame* opener() const = 0; | 16 virtual Frame* opener() const = 0; |
15 virtual void setOpener(Frame*) = 0; | 17 virtual void setOpener(Frame*) = 0; |
16 | 18 |
17 virtual Frame* parent() const = 0; | 19 virtual Frame* parent() const = 0; |
18 virtual Frame* top() const = 0; | 20 virtual Frame* top() const = 0; |
19 virtual Frame* previousSibling() const = 0; | 21 virtual Frame* previousSibling() const = 0; |
20 virtual Frame* nextSibling() const = 0; | 22 virtual Frame* nextSibling() const = 0; |
21 virtual Frame* firstChild() const = 0; | 23 virtual Frame* firstChild() const = 0; |
22 virtual Frame* lastChild() const = 0; | 24 virtual Frame* lastChild() const = 0; |
23 | 25 |
24 virtual ~FrameClient() { } | 26 virtual ~FrameClient() { } |
25 }; | 27 }; |
26 | 28 |
27 } // namespace blink | 29 } // namespace blink |
28 | 30 |
29 #endif // FrameClient_h | 31 #endif // FrameClient_h |
OLD | NEW |