| 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 shouldThrottleRenderingPipeline() const; |
| 186 bool shouldThrottleStyleLayoutAndCompositingUpdates() const; |
| 187 |
| 185 // ======== | 188 // ======== |
| 186 | 189 |
| 187 // Returns the frame scheduler, creating one if needed. | 190 // Returns the frame scheduler, creating one if needed. |
| 188 WebFrameScheduler* frameScheduler(); | 191 WebFrameScheduler* frameScheduler(); |
| 189 void updateFrameSecurityOrigin(); | 192 void updateFrameSecurityOrigin(); |
| 190 | 193 |
| 191 private: | 194 private: |
| 192 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); | 195 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*); |
| 193 | 196 |
| 194 // Internal Frame helper overrides: | 197 // Internal Frame helper overrides: |
| (...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 321 DECLARE_WEAK_IDENTIFIER_MAP(LocalFrame); | 324 DECLARE_WEAK_IDENTIFIER_MAP(LocalFrame); |
| 322 | 325 |
| 323 } // namespace blink | 326 } // namespace blink |
| 324 | 327 |
| 325 // During refactoring, there are some places where we need to do type conversion
s that | 328 // 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. | 329 // 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. | 330 // At that time this #define will be removed and all the uses of it will need to
be corrected. |
| 328 #define toLocalFrameTemporary toLocalFrame | 331 #define toLocalFrameTemporary toLocalFrame |
| 329 | 332 |
| 330 #endif // LocalFrame_h | 333 #endif // LocalFrame_h |
| OLD | NEW |