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