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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // FrameHost should be used instead where possible. | 70 // FrameHost should be used instead where possible. |
71 Page* page() const; | 71 Page* page() const; |
72 FrameHost* host() const; // Null when the frame is detached. | 72 FrameHost* host() const; // Null when the frame is detached. |
73 | 73 |
74 bool isMainFrame() const; | 74 bool isMainFrame() const; |
75 bool isLocalRoot() const; | 75 bool isLocalRoot() const; |
76 | 76 |
77 virtual void disconnectOwnerElement(); | 77 virtual void disconnectOwnerElement(); |
78 | 78 |
79 FrameOwner* owner() const; | 79 FrameOwner* owner() const; |
| 80 void setOwner(FrameOwner* owner) { m_owner = owner; } |
80 HTMLFrameOwnerElement* deprecatedLocalOwner() const; | 81 HTMLFrameOwnerElement* deprecatedLocalOwner() const; |
81 | 82 |
82 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame | 83 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame |
83 // after RemoteFrame is complete enough to exist without them. | 84 // after RemoteFrame is complete enough to exist without them. |
84 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); | 85 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); |
85 LocalDOMWindow* domWindow() const; | 86 LocalDOMWindow* domWindow() const; |
86 | 87 |
87 FrameTree& tree() const; | 88 FrameTree& tree() const; |
88 ChromeClient& chromeClient() const; | 89 ChromeClient& chromeClient() const; |
89 | 90 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
140 { | 141 { |
141 return m_treeNode; | 142 return m_treeNode; |
142 } | 143 } |
143 | 144 |
144 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 145 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
145 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 146 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
146 | 147 |
147 } // namespace blink | 148 } // namespace blink |
148 | 149 |
149 #endif // Frame_h | 150 #endif // Frame_h |
OLD | NEW |