| 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 | 8 * Copyright (C) 2004, 2005, 2006, 2007, 2008, 2009, 2010 Apple Inc. All rights |
| 9 * reserved. | 9 * reserved. |
| 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) | 10 * Copyright (C) 2008 Nokia Corporation and/or its subsidiary(-ies) |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 #include "public/platform/WebFeaturePolicy.h" | 37 #include "public/platform/WebFeaturePolicy.h" |
| 38 #include "wtf/Forward.h" | 38 #include "wtf/Forward.h" |
| 39 | 39 |
| 40 namespace blink { | 40 namespace blink { |
| 41 | 41 |
| 42 class ChromeClient; | 42 class ChromeClient; |
| 43 class DOMWindow; | 43 class DOMWindow; |
| 44 class DOMWrapperWorld; | 44 class DOMWrapperWorld; |
| 45 class Document; | 45 class Document; |
| 46 class FrameClient; | 46 class FrameClient; |
| 47 class FrameHost; | |
| 48 class FrameOwner; | 47 class FrameOwner; |
| 49 class HTMLFrameOwnerElement; | 48 class HTMLFrameOwnerElement; |
| 50 class LayoutPart; | 49 class LayoutPart; |
| 51 class LayoutPartItem; | 50 class LayoutPartItem; |
| 52 class KURL; | 51 class KURL; |
| 53 class Page; | 52 class Page; |
| 54 class SecurityContext; | 53 class SecurityContext; |
| 55 class Settings; | 54 class Settings; |
| 56 class WindowProxy; | 55 class WindowProxy; |
| 57 class WindowProxyManager; | 56 class WindowProxyManager; |
| (...skipping 26 matching lines...) Expand all Loading... |
| 84 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; | 83 virtual void reload(FrameLoadType, ClientRedirectPolicy) = 0; |
| 85 | 84 |
| 86 virtual void detach(FrameDetachType); | 85 virtual void detach(FrameDetachType); |
| 87 void disconnectOwnerElement(); | 86 void disconnectOwnerElement(); |
| 88 virtual bool shouldClose() = 0; | 87 virtual bool shouldClose() = 0; |
| 89 | 88 |
| 90 FrameClient* client() const; | 89 FrameClient* client() const; |
| 91 | 90 |
| 92 Page* page() const; // Null when the frame is detached. | 91 Page* page() const; // Null when the frame is detached. |
| 93 | 92 |
| 94 // Deprecated; use page() instead. | |
| 95 // TODO(sashab): Remove this method. | |
| 96 FrameHost* host() const; | |
| 97 | |
| 98 bool isMainFrame() const; | 93 bool isMainFrame() const; |
| 99 bool isLocalRoot() const; | 94 bool isLocalRoot() const; |
| 100 | 95 |
| 101 FrameOwner* owner() const; | 96 FrameOwner* owner() const; |
| 102 void setOwner(FrameOwner* owner) { m_owner = owner; } | 97 void setOwner(FrameOwner* owner) { m_owner = owner; } |
| 103 HTMLFrameOwnerElement* deprecatedLocalOwner() const; | 98 HTMLFrameOwnerElement* deprecatedLocalOwner() const; |
| 104 | 99 |
| 105 DOMWindow* domWindow() const { return m_domWindow; } | 100 DOMWindow* domWindow() const { return m_domWindow; } |
| 106 | 101 |
| 107 FrameTree& tree() const; | 102 FrameTree& tree() const; |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 187 return m_treeNode; | 182 return m_treeNode; |
| 188 } | 183 } |
| 189 | 184 |
| 190 // Allow equality comparisons of Frames by reference or pointer, | 185 // Allow equality comparisons of Frames by reference or pointer, |
| 191 // interchangeably. | 186 // interchangeably. |
| 192 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(Frame) | 187 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(Frame) |
| 193 | 188 |
| 194 } // namespace blink | 189 } // namespace blink |
| 195 | 190 |
| 196 #endif // Frame_h | 191 #endif // Frame_h |
| OLD | NEW |