| 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 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 149 void setDocumentHasReceivedUserGesture(); | 149 void setDocumentHasReceivedUserGesture(); |
| 150 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } | 150 bool hasReceivedUserGesture() const { return m_hasReceivedUserGesture; } |
| 151 | 151 |
| 152 bool isDetaching() const { return m_isDetaching; } | 152 bool isDetaching() const { return m_isDetaching; } |
| 153 | 153 |
| 154 // Tests whether the feature-policy controlled feature is enabled by policy in | 154 // Tests whether the feature-policy controlled feature is enabled by policy in |
| 155 // the given frame. | 155 // the given frame. |
| 156 bool isFeatureEnabled(WebFeaturePolicyFeature) const; | 156 bool isFeatureEnabled(WebFeaturePolicyFeature) const; |
| 157 | 157 |
| 158 protected: | 158 protected: |
| 159 Frame(FrameClient*, Page*, FrameOwner*, WindowProxyManager*); | 159 Frame(FrameClient*, Page&, FrameOwner*, WindowProxyManager*); |
| 160 | 160 |
| 161 mutable FrameTree m_treeNode; | 161 mutable FrameTree m_treeNode; |
| 162 | 162 |
| 163 Member<Page> m_page; | 163 Member<Page> m_page; |
| 164 Member<FrameOwner> m_owner; | 164 Member<FrameOwner> m_owner; |
| 165 Member<DOMWindow> m_domWindow; | 165 Member<DOMWindow> m_domWindow; |
| 166 | 166 |
| 167 bool m_hasReceivedUserGesture = false; | 167 bool m_hasReceivedUserGesture = false; |
| 168 bool m_isDetaching = false; | 168 bool m_isDetaching = false; |
| 169 | 169 |
| (...skipping 17 matching lines...) Expand all Loading... |
| 187 return m_treeNode; | 187 return m_treeNode; |
| 188 } | 188 } |
| 189 | 189 |
| 190 // Allow equality comparisons of Frames by reference or pointer, | 190 // Allow equality comparisons of Frames by reference or pointer, |
| 191 // interchangeably. | 191 // interchangeably. |
| 192 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(Frame) | 192 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES(Frame) |
| 193 | 193 |
| 194 } // namespace blink | 194 } // namespace blink |
| 195 | 195 |
| 196 #endif // Frame_h | 196 #endif // Frame_h |
| OLD | NEW |