| 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 67 FrameClient* client() const; | 67 FrameClient* client() const; |
| 68 void clearClient(); | 68 void clearClient(); |
| 69 | 69 |
| 70 // NOTE: Page is moving out of Blink up into the browser process as | 70 // NOTE: Page is moving out of Blink up into the browser process as |
| 71 // part of the site-isolation (out of process iframes) work. | 71 // part of the site-isolation (out of process iframes) work. |
| 72 // FrameHost should be used instead where possible. | 72 // FrameHost should be used instead where possible. |
| 73 Page* page() const; | 73 Page* page() const; |
| 74 FrameHost* host() const; // Null when the frame is detached. | 74 FrameHost* host() const; // Null when the frame is detached. |
| 75 | 75 |
| 76 bool isMainFrame() const; | 76 bool isMainFrame() const; |
| 77 bool isLocalRoot() const; |
| 77 | 78 |
| 78 virtual void disconnectOwnerElement(); | 79 virtual void disconnectOwnerElement(); |
| 79 | 80 |
| 80 FrameOwner* owner() const; | 81 FrameOwner* owner() const; |
| 81 HTMLFrameOwnerElement* deprecatedLocalOwner() const; | 82 HTMLFrameOwnerElement* deprecatedLocalOwner() const; |
| 82 | 83 |
| 83 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame | 84 // FIXME: LocalDOMWindow and Document should both be moved to LocalFrame |
| 84 // after RemoteFrame is complete enough to exist without them. | 85 // after RemoteFrame is complete enough to exist without them. |
| 85 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); | 86 virtual void setDOMWindow(PassRefPtrWillBeRawPtr<LocalDOMWindow>); |
| 86 LocalDOMWindow* domWindow() const; | 87 LocalDOMWindow* domWindow() const; |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 143 { | 144 { |
| 144 return m_treeNode; | 145 return m_treeNode; |
| 145 } | 146 } |
| 146 | 147 |
| 147 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 148 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
| 148 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 149 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
| 149 | 150 |
| 150 } // namespace WebCore | 151 } // namespace WebCore |
| 151 | 152 |
| 152 #endif // Frame_h | 153 #endif // Frame_h |
| OLD | NEW |