| 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 113 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 124 | 124 |
| 125 Settings* settings() const; // can be null | 125 Settings* settings() const; // can be null |
| 126 | 126 |
| 127 // isLoading() is true when the embedder should think a load is in progress. | 127 // isLoading() is true when the embedder should think a load is in progress. |
| 128 // In the case of LocalFrames, it means that the frame has sent a didStartLo
ading() | 128 // In the case of LocalFrames, it means that the frame has sent a didStartLo
ading() |
| 129 // callback, but not the matching didStopLoading(). Inside blink, you probab
ly | 129 // callback, but not the matching didStopLoading(). Inside blink, you probab
ly |
| 130 // want Document::loadEventFinished() instead. | 130 // want Document::loadEventFinished() instead. |
| 131 void setIsLoading(bool isLoading) { m_isLoading = isLoading; } | 131 void setIsLoading(bool isLoading) { m_isLoading = isLoading; } |
| 132 bool isLoading() const { return m_isLoading; } | 132 bool isLoading() const { return m_isLoading; } |
| 133 | 133 |
| 134 virtual WindowProxyManager* windowProxyManager() const = 0; | 134 virtual WindowProxyManager* getWindowProxyManager() const = 0; |
| 135 | 135 |
| 136 protected: | 136 protected: |
| 137 Frame(FrameClient*, FrameHost*, FrameOwner*); | 137 Frame(FrameClient*, FrameHost*, FrameOwner*); |
| 138 | 138 |
| 139 mutable FrameTree m_treeNode; | 139 mutable FrameTree m_treeNode; |
| 140 | 140 |
| 141 RawPtrWillBeMember<FrameHost> m_host; | 141 RawPtrWillBeMember<FrameHost> m_host; |
| 142 RawPtrWillBeMember<FrameOwner> m_owner; | 142 RawPtrWillBeMember<FrameOwner> m_owner; |
| 143 | 143 |
| 144 private: | 144 private: |
| (...skipping 17 matching lines...) Expand all Loading... |
| 162 { | 162 { |
| 163 return m_treeNode; | 163 return m_treeNode; |
| 164 } | 164 } |
| 165 | 165 |
| 166 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 166 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
| 167 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 167 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
| 168 | 168 |
| 169 } // namespace blink | 169 } // namespace blink |
| 170 | 170 |
| 171 #endif // Frame_h | 171 #endif // Frame_h |
| OLD | NEW |