OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. | 2 * Copyright (C) 2006, 2007, 2008, 2009, 2010, 2013 Apple Inc. All rights reserv
ed. |
3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) | 3 * Copyright (C) 2008 Torch Mobile Inc. All rights reserved. (http://www.torchmo
bile.com/) |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
57 class FocusController; | 57 class FocusController; |
58 class Frame; | 58 class Frame; |
59 class FrameHost; | 59 class FrameHost; |
60 class PluginData; | 60 class PluginData; |
61 class PointerLockController; | 61 class PointerLockController; |
62 class ScrollingCoordinator; | 62 class ScrollingCoordinator; |
63 class Settings; | 63 class Settings; |
64 class SpellCheckerClient; | 64 class SpellCheckerClient; |
65 class UndoStack; | 65 class UndoStack; |
66 class ValidationMessageClient; | 66 class ValidationMessageClient; |
| 67 class WebLayerTreeView; |
67 | 68 |
68 typedef uint64_t LinkHash; | 69 typedef uint64_t LinkHash; |
69 | 70 |
70 float deviceScaleFactor(LocalFrame*); | 71 float deviceScaleFactor(LocalFrame*); |
71 | 72 |
72 class CORE_EXPORT Page final : public NoBaseWillBeGarbageCollectedFinalized<Page
>, public WillBeHeapSupplementable<Page>, public PageLifecycleNotifier, public S
ettingsDelegate, public MemoryPurgeClient { | 73 class CORE_EXPORT Page final : public NoBaseWillBeGarbageCollectedFinalized<Page
>, public WillBeHeapSupplementable<Page>, public PageLifecycleNotifier, public S
ettingsDelegate, public MemoryPurgeClient { |
73 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page); | 74 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page); |
74 USING_FAST_MALLOC_WILL_BE_REMOVED(Page); | 75 USING_FAST_MALLOC_WILL_BE_REMOVED(Page); |
75 WTF_MAKE_NONCOPYABLE(Page); | 76 WTF_MAKE_NONCOPYABLE(Page); |
76 friend class Settings; | 77 friend class Settings; |
(...skipping 123 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
200 void acceptLanguagesChanged(); | 201 void acceptLanguagesChanged(); |
201 | 202 |
202 static void networkStateChanged(bool online); | 203 static void networkStateChanged(bool online); |
203 | 204 |
204 MemoryPurgeController& memoryPurgeController(); | 205 MemoryPurgeController& memoryPurgeController(); |
205 | 206 |
206 void purgeMemory(MemoryPurgeMode, DeviceKind) override; | 207 void purgeMemory(MemoryPurgeMode, DeviceKind) override; |
207 | 208 |
208 DECLARE_TRACE(); | 209 DECLARE_TRACE(); |
209 | 210 |
210 void willCloseLayerTreeView(); | 211 void layerTreeViewInitialized(WebLayerTreeView&); |
| 212 void willCloseLayerTreeView(WebLayerTreeView&); |
| 213 |
211 void willBeDestroyed(); | 214 void willBeDestroyed(); |
212 | 215 |
213 private: | 216 private: |
214 void initGroup(); | 217 void initGroup(); |
215 | 218 |
216 void setTimerAlignmentInterval(double); | 219 void setTimerAlignmentInterval(double); |
217 | 220 |
218 void setNeedsLayoutInAllFrames(); | 221 void setNeedsLayoutInAllFrames(); |
219 | 222 |
220 // SettingsDelegate overrides. | 223 // SettingsDelegate overrides. |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
278 OwnPtrWillBeMember<FrameHost> m_frameHost; | 281 OwnPtrWillBeMember<FrameHost> m_frameHost; |
279 | 282 |
280 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; | 283 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; |
281 }; | 284 }; |
282 | 285 |
283 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 286 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
284 | 287 |
285 } // namespace blink | 288 } // namespace blink |
286 | 289 |
287 #endif // Page_h | 290 #endif // Page_h |
OLD | NEW |