| 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 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 173 | 173 |
| 174 bool shouldThrottleRendering() const; | 174 bool shouldThrottleRendering() const; |
| 175 | 175 |
| 176 // Returns the frame scheduler, creating one if needed. | 176 // Returns the frame scheduler, creating one if needed. |
| 177 WebFrameScheduler* frameScheduler(); | 177 WebFrameScheduler* frameScheduler(); |
| 178 void scheduleVisualUpdateUnlessThrottled(); | 178 void scheduleVisualUpdateUnlessThrottled(); |
| 179 | 179 |
| 180 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } | 180 bool isNavigationAllowed() const { return m_navigationDisableCount == 0; } |
| 181 | 181 |
| 182 ServiceRegistry* serviceRegistry() { return m_serviceRegistry; } | 182 ServiceRegistry* serviceRegistry() { return m_serviceRegistry; } |
| 183 void purgeMemory(); |
| 183 | 184 |
| 184 FrameLoaderClient* client() const; | 185 FrameLoaderClient* client() const; |
| 185 | 186 |
| 186 PluginData* pluginData() const; | 187 PluginData* pluginData() const; |
| 187 | 188 |
| 188 private: | 189 private: |
| 189 friend class FrameNavigationDisabler; | 190 friend class FrameNavigationDisabler; |
| 190 | 191 |
| 191 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*, ServiceRegistry*); | 192 LocalFrame(FrameLoaderClient*, FrameHost*, FrameOwner*, ServiceRegistry*); |
| 192 | 193 |
| (...skipping 143 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 336 explicit ScopedFrameBlamer(LocalFrame*); | 337 explicit ScopedFrameBlamer(LocalFrame*); |
| 337 ~ScopedFrameBlamer(); | 338 ~ScopedFrameBlamer(); |
| 338 | 339 |
| 339 private: | 340 private: |
| 340 Member<LocalFrame> m_frame; | 341 Member<LocalFrame> m_frame; |
| 341 }; | 342 }; |
| 342 | 343 |
| 343 } // namespace blink | 344 } // namespace blink |
| 344 | 345 |
| 345 #endif // LocalFrame_h | 346 #endif // LocalFrame_h |
| OLD | NEW |