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 16 matching lines...) Expand all Loading... |
27 #include "core/frame/OriginsUsingFeatures.h" | 27 #include "core/frame/OriginsUsingFeatures.h" |
28 #include "core/frame/SettingsDelegate.h" | 28 #include "core/frame/SettingsDelegate.h" |
29 #include "core/frame/UseCounter.h" | 29 #include "core/frame/UseCounter.h" |
30 #include "core/page/Page.h" | 30 #include "core/page/Page.h" |
31 #include "core/page/PageAnimator.h" | 31 #include "core/page/PageAnimator.h" |
32 #include "core/page/PageLifecycleNotifier.h" | 32 #include "core/page/PageLifecycleNotifier.h" |
33 #include "core/page/PageLifecycleObserver.h" | 33 #include "core/page/PageLifecycleObserver.h" |
34 #include "core/page/PageVisibilityState.h" | 34 #include "core/page/PageVisibilityState.h" |
35 #include "platform/MemoryPurgeController.h" | 35 #include "platform/MemoryPurgeController.h" |
36 #include "platform/Supplementable.h" | 36 #include "platform/Supplementable.h" |
| 37 #include "platform/Timer.h" |
37 #include "platform/geometry/LayoutRect.h" | 38 #include "platform/geometry/LayoutRect.h" |
38 #include "platform/geometry/Region.h" | 39 #include "platform/geometry/Region.h" |
39 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
40 #include "wtf/Forward.h" | 41 #include "wtf/Forward.h" |
41 #include "wtf/HashSet.h" | 42 #include "wtf/HashSet.h" |
42 #include "wtf/Noncopyable.h" | 43 #include "wtf/Noncopyable.h" |
43 #include "wtf/text/WTFString.h" | 44 #include "wtf/text/WTFString.h" |
44 | 45 |
45 namespace blink { | 46 namespace blink { |
46 | 47 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
227 private: | 228 private: |
228 explicit Page(PageClients&); | 229 explicit Page(PageClients&); |
229 | 230 |
230 void initGroup(); | 231 void initGroup(); |
231 | 232 |
232 void setNeedsLayoutInAllFrames(); | 233 void setNeedsLayoutInAllFrames(); |
233 | 234 |
234 // SettingsDelegate overrides. | 235 // SettingsDelegate overrides. |
235 void settingsChanged(SettingsDelegate::ChangeType) override; | 236 void settingsChanged(SettingsDelegate::ChangeType) override; |
236 | 237 |
| 238 void compressStrings(Timer<Page>*); |
| 239 |
237 RefPtrWillBeMember<PageAnimator> m_animator; | 240 RefPtrWillBeMember<PageAnimator> m_animator; |
238 const OwnPtrWillBeMember<AutoscrollController> m_autoscrollController; | 241 const OwnPtrWillBeMember<AutoscrollController> m_autoscrollController; |
239 RawPtrWillBeMember<ChromeClient> m_chromeClient; | 242 RawPtrWillBeMember<ChromeClient> m_chromeClient; |
240 const OwnPtrWillBeMember<DragCaretController> m_dragCaretController; | 243 const OwnPtrWillBeMember<DragCaretController> m_dragCaretController; |
241 const OwnPtrWillBeMember<DragController> m_dragController; | 244 const OwnPtrWillBeMember<DragController> m_dragController; |
242 const OwnPtrWillBeMember<FocusController> m_focusController; | 245 const OwnPtrWillBeMember<FocusController> m_focusController; |
243 const OwnPtrWillBeMember<ContextMenuController> m_contextMenuController; | 246 const OwnPtrWillBeMember<ContextMenuController> m_contextMenuController; |
244 const OwnPtrWillBeMember<PointerLockController> m_pointerLockController; | 247 const OwnPtrWillBeMember<PointerLockController> m_pointerLockController; |
245 OwnPtrWillBeMember<ScrollingCoordinator> m_scrollingCoordinator; | 248 OwnPtrWillBeMember<ScrollingCoordinator> m_scrollingCoordinator; |
246 const OwnPtrWillBeMember<UndoStack> m_undoStack; | 249 const OwnPtrWillBeMember<UndoStack> m_undoStack; |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
283 bool m_isPainting; | 286 bool m_isPainting; |
284 #endif | 287 #endif |
285 | 288 |
286 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver>> m_mu
ltisamplingChangedObservers; | 289 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver>> m_mu
ltisamplingChangedObservers; |
287 | 290 |
288 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 291 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
289 // FIXME: Most of the members of Page should move onto FrameHost. | 292 // FIXME: Most of the members of Page should move onto FrameHost. |
290 OwnPtrWillBeMember<FrameHost> m_frameHost; | 293 OwnPtrWillBeMember<FrameHost> m_frameHost; |
291 | 294 |
292 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; | 295 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; |
| 296 |
| 297 Timer<Page> m_timerForCompressStrings; |
293 }; | 298 }; |
294 | 299 |
295 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; | 300 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; |
296 | 301 |
297 } // namespace blink | 302 } // namespace blink |
298 | 303 |
299 #endif // Page_h | 304 #endif // Page_h |
OLD | NEW |