Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(388)

Side by Side Diff: third_party/WebKit/Source/core/page/Page.h

Issue 1583263002: Experimental CompressibleString UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adopt lazy-initializing way Created 4 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
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
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
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
OLDNEW
« no previous file with comments | « third_party/WebKit/Source/core/inspector/InspectorPageAgent.cpp ('k') | third_party/WebKit/Source/core/page/Page.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698