OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> | 2 * Copyright (C) 1998, 1999 Torben Weis <weis@kde.org> |
3 * 1999-2001 Lars Knoll <knoll@kde.org> | 3 * 1999-2001 Lars Knoll <knoll@kde.org> |
4 * 1999-2001 Antti Koivisto <koivisto@kde.org> | 4 * 1999-2001 Antti Koivisto <koivisto@kde.org> |
5 * 2000-2001 Simon Hausmann <hausmann@kde.org> | 5 * 2000-2001 Simon Hausmann <hausmann@kde.org> |
6 * 2000-2001 Dirk Mueller <mueller@kde.org> | 6 * 2000-2001 Dirk Mueller <mueller@kde.org> |
7 * 2000 Stefan Schimanski <1Stein@gmx.de> | 7 * 2000 Stefan Schimanski <1Stein@gmx.de> |
8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights
reserved. |
9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 9 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> | 10 * Copyright (C) 2008 Eric Seidel <eric@webkit.org> |
(...skipping 24 matching lines...) Expand all Loading... |
35 | 35 |
36 namespace blink { | 36 namespace blink { |
37 | 37 |
38 class ChromeClient; | 38 class ChromeClient; |
39 class Document; | 39 class Document; |
40 class FrameClient; | 40 class FrameClient; |
41 class FrameHost; | 41 class FrameHost; |
42 class FrameOwner; | 42 class FrameOwner; |
43 class HTMLFrameOwnerElement; | 43 class HTMLFrameOwnerElement; |
44 class LocalDOMWindow; | 44 class LocalDOMWindow; |
| 45 class LocalFrame; |
45 class KURL; | 46 class KURL; |
46 class Page; | 47 class Page; |
47 class RenderPart; | 48 class RenderPart; |
48 class Settings; | 49 class Settings; |
49 class WebLayer; | 50 class WebLayer; |
50 | 51 |
51 struct Referrer; | 52 struct Referrer; |
52 | 53 |
53 class Frame : public RefCountedWillBeGarbageCollectedFinalized<Frame> { | 54 class Frame : public RefCountedWillBeGarbageCollectedFinalized<Frame> { |
54 public: | 55 public: |
(...skipping 16 matching lines...) Expand all Loading... |
71 FrameClient* client() const; | 72 FrameClient* client() const; |
72 | 73 |
73 // NOTE: Page is moving out of Blink up into the browser process as | 74 // NOTE: Page is moving out of Blink up into the browser process as |
74 // part of the site-isolation (out of process iframes) work. | 75 // part of the site-isolation (out of process iframes) work. |
75 // FrameHost should be used instead where possible. | 76 // FrameHost should be used instead where possible. |
76 Page* page() const; | 77 Page* page() const; |
77 FrameHost* host() const; // Null when the frame is detached. | 78 FrameHost* host() const; // Null when the frame is detached. |
78 | 79 |
79 bool isMainFrame() const; | 80 bool isMainFrame() const; |
80 bool isLocalRoot() const; | 81 bool isLocalRoot() const; |
| 82 LocalFrame* localRoot() const; |
81 | 83 |
82 FrameOwner* owner() const; | 84 FrameOwner* owner() const; |
83 void setOwner(FrameOwner* owner) { m_owner = owner; } | 85 void setOwner(FrameOwner* owner) { m_owner = owner; } |
84 HTMLFrameOwnerElement* deprecatedLocalOwner() const; | 86 HTMLFrameOwnerElement* deprecatedLocalOwner() const; |
85 | 87 |
86 FrameTree& tree() const; | 88 FrameTree& tree() const; |
87 ChromeClient& chromeClient() const; | 89 ChromeClient& chromeClient() const; |
88 | 90 |
89 RenderPart* ownerRenderer() const; // Renderer for the element that contains
this frame. | 91 RenderPart* ownerRenderer() const; // Renderer for the element that contains
this frame. |
90 | 92 |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
127 { | 129 { |
128 return m_treeNode; | 130 return m_treeNode; |
129 } | 131 } |
130 | 132 |
131 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 133 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
132 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 134 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
133 | 135 |
134 } // namespace blink | 136 } // namespace blink |
135 | 137 |
136 #endif // Frame_h | 138 #endif // Frame_h |
OLD | NEW |