| 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 27 matching lines...) Expand all Loading... |
| 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 DOMWindow; | 44 class DOMWindow; |
| 45 class KURL; | 45 class KURL; |
| 46 class Page; | 46 class Page; |
| 47 class RenderPart; | 47 class RenderPart; |
| 48 class SecurityContext; |
| 48 class Settings; | 49 class Settings; |
| 49 class WebLayer; | 50 class WebLayer; |
| 50 | 51 |
| 51 class Frame : public RefCountedWillBeGarbageCollectedFinalized<Frame> { | 52 class Frame : public RefCountedWillBeGarbageCollectedFinalized<Frame> { |
| 52 public: | 53 public: |
| 53 virtual ~Frame(); | 54 virtual ~Frame(); |
| 54 | 55 |
| 55 virtual void trace(Visitor*); | 56 virtual void trace(Visitor*); |
| 56 | 57 |
| 57 virtual bool isLocalFrame() const { return false; } | 58 virtual bool isLocalFrame() const { return false; } |
| (...skipping 18 matching lines...) Expand all Loading... |
| 76 bool isMainFrame() const; | 77 bool isMainFrame() const; |
| 77 bool isLocalRoot() const; | 78 bool isLocalRoot() const; |
| 78 | 79 |
| 79 FrameOwner* owner() const; | 80 FrameOwner* owner() const; |
| 80 void setOwner(FrameOwner* owner) { m_owner = owner; } | 81 void setOwner(FrameOwner* owner) { m_owner = owner; } |
| 81 HTMLFrameOwnerElement* deprecatedLocalOwner() const; | 82 HTMLFrameOwnerElement* deprecatedLocalOwner() const; |
| 82 | 83 |
| 83 FrameTree& tree() const; | 84 FrameTree& tree() const; |
| 84 ChromeClient& chromeClient() const; | 85 ChromeClient& chromeClient() const; |
| 85 | 86 |
| 87 virtual SecurityContext* securityContext() const = 0; |
| 88 |
| 86 RenderPart* ownerRenderer() const; // Renderer for the element that contains
this frame. | 89 RenderPart* ownerRenderer() const; // Renderer for the element that contains
this frame. |
| 87 | 90 |
| 88 // FIXME: These should move to RemoteFrame when that is instantiated. | 91 // FIXME: These should move to RemoteFrame when that is instantiated. |
| 89 void setRemotePlatformLayer(WebLayer*); | 92 void setRemotePlatformLayer(WebLayer*); |
| 90 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; } | 93 WebLayer* remotePlatformLayer() const { return m_remotePlatformLayer; } |
| 91 | 94 |
| 92 Settings* settings() const; // can be null | 95 Settings* settings() const; // can be null |
| 93 | 96 |
| 94 // FIXME: This method identifies a LocalFrame that is acting as a RemoteFram
e. | 97 // FIXME: This method identifies a LocalFrame that is acting as a RemoteFram
e. |
| 95 // It is necessary only until we can instantiate a RemoteFrame, at which poi
nt | 98 // It is necessary only until we can instantiate a RemoteFrame, at which poi
nt |
| (...skipping 28 matching lines...) Expand all Loading... |
| 124 { | 127 { |
| 125 return m_treeNode; | 128 return m_treeNode; |
| 126 } | 129 } |
| 127 | 130 |
| 128 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 131 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
| 129 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 132 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
| 130 | 133 |
| 131 } // namespace blink | 134 } // namespace blink |
| 132 | 135 |
| 133 #endif // Frame_h | 136 #endif // Frame_h |
| OLD | NEW |