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 164 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
175 bool shouldScrollTopControls(const FloatSize& delta) const; | 175 bool shouldScrollTopControls(const FloatSize& delta) const; |
176 | 176 |
177 #if ENABLE(OILPAN) | 177 #if ENABLE(OILPAN) |
178 void registerPluginElement(HTMLPlugInElement*); | 178 void registerPluginElement(HTMLPlugInElement*); |
179 void unregisterPluginElement(HTMLPlugInElement*); | 179 void unregisterPluginElement(HTMLPlugInElement*); |
180 void clearWeakMembers(Visitor*); | 180 void clearWeakMembers(Visitor*); |
181 #endif | 181 #endif |
182 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } | 182 DisplayItemClient displayItemClient() const { return toDisplayItemClient(thi
s); } |
183 String debugName() const { return "LocalFrame"; } | 183 String debugName() const { return "LocalFrame"; } |
184 | 184 |
| 185 bool shouldThrottleRendering() const; |
| 186 |
185 // ======== | 187 // ======== |
186 | 188 |
187 // Returns the frame scheduler, creating one if needed. | 189 // Returns the frame scheduler, creating one if needed. |
188 WebFrameScheduler* frameScheduler(); | 190 WebFrameScheduler* frameScheduler(); |
189 void updateFrameSecurityOrigin(); | 191 void updateFrameSecurityOrigin(); |
190 | 192 |
191 private: | 193 private: |
192 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); | 194 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); |
193 | 195 |
194 // Internal Frame helper overrides: | 196 // Internal Frame helper overrides: |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
321 DECLARE_WEAK_IDENTIFIER_MAP(LocalFrame); | 323 DECLARE_WEAK_IDENTIFIER_MAP(LocalFrame); |
322 | 324 |
323 } // namespace blink | 325 } // namespace blink |
324 | 326 |
325 // During refactoring, there are some places where we need to do type conversion
s that | 327 // During refactoring, there are some places where we need to do type conversion
s that |
326 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. | 328 // will not be needed once all instances of LocalFrame and RemoteFrame are sorte
d out. |
327 // At that time this #define will be removed and all the uses of it will need to
be corrected. | 329 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
328 #define toLocalFrameTemporary toLocalFrame | 330 #define toLocalFrameTemporary toLocalFrame |
329 | 331 |
330 #endif // LocalFrame_h | 332 #endif // LocalFrame_h |
OLD | NEW |