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 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
134 | 134 |
135 protected: | 135 protected: |
136 Frame(FrameClient*, FrameHost*, FrameOwner*); | 136 Frame(FrameClient*, FrameHost*, FrameOwner*); |
137 | 137 |
138 mutable FrameTree m_treeNode; | 138 mutable FrameTree m_treeNode; |
139 | 139 |
140 RawPtrWillBeMember<FrameHost> m_host; | 140 RawPtrWillBeMember<FrameHost> m_host; |
141 RawPtrWillBeMember<FrameOwner> m_owner; | 141 RawPtrWillBeMember<FrameOwner> m_owner; |
142 | 142 |
143 private: | 143 private: |
144 FrameClient* m_client; | 144 RawPtrWillBeMember<FrameClient> m_client; |
145 // Needed to identify Frame Timing requests. | 145 // Needed to identify Frame Timing requests. |
146 int64_t m_frameID; | 146 int64_t m_frameID; |
147 bool m_isLoading; | 147 bool m_isLoading; |
148 }; | 148 }; |
149 | 149 |
150 inline FrameClient* Frame::client() const | 150 inline FrameClient* Frame::client() const |
151 { | 151 { |
152 return m_client; | 152 return m_client; |
153 } | 153 } |
154 | 154 |
155 inline FrameOwner* Frame::owner() const | 155 inline FrameOwner* Frame::owner() const |
156 { | 156 { |
157 return m_owner; | 157 return m_owner; |
158 } | 158 } |
159 | 159 |
160 inline FrameTree& Frame::tree() const | 160 inline FrameTree& Frame::tree() const |
161 { | 161 { |
162 return m_treeNode; | 162 return m_treeNode; |
163 } | 163 } |
164 | 164 |
165 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. | 165 // Allow equality comparisons of Frames by reference or pointer, interchangeably
. |
166 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) | 166 DEFINE_COMPARISON_OPERATORS_WITH_REFERENCES_REFCOUNTED(Frame) |
167 | 167 |
168 } // namespace blink | 168 } // namespace blink |
169 | 169 |
170 #endif // Frame_h | 170 #endif // Frame_h |
OLD | NEW |