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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #include "core/CoreExport.h" | 24 #include "core/CoreExport.h" |
25 #include "core/dom/ViewportDescription.h" | 25 #include "core/dom/ViewportDescription.h" |
26 #include "core/frame/Deprecation.h" | 26 #include "core/frame/Deprecation.h" |
27 #include "core/frame/HostsUsingFeatures.h" | 27 #include "core/frame/HostsUsingFeatures.h" |
28 #include "core/frame/LocalFrame.h" | 28 #include "core/frame/LocalFrame.h" |
29 #include "core/frame/SettingsDelegate.h" | 29 #include "core/frame/SettingsDelegate.h" |
30 #include "core/frame/UseCounter.h" | 30 #include "core/frame/UseCounter.h" |
31 #include "core/page/Page.h" | 31 #include "core/page/Page.h" |
32 #include "core/page/PageAnimator.h" | 32 #include "core/page/PageAnimator.h" |
33 #include "core/page/PageLifecycleNotifier.h" | 33 #include "core/page/PageVisibilityNotifier.h" |
34 #include "core/page/PageLifecycleObserver.h" | 34 #include "core/page/PageVisibilityObserver.h" |
35 #include "core/page/PageVisibilityState.h" | 35 #include "core/page/PageVisibilityState.h" |
36 #include "platform/Supplementable.h" | 36 #include "platform/Supplementable.h" |
37 #include "platform/Timer.h" | 37 #include "platform/Timer.h" |
38 #include "platform/geometry/LayoutRect.h" | 38 #include "platform/geometry/LayoutRect.h" |
39 #include "platform/geometry/Region.h" | 39 #include "platform/geometry/Region.h" |
40 #include "platform/heap/Handle.h" | 40 #include "platform/heap/Handle.h" |
41 #include "wtf/Forward.h" | 41 #include "wtf/Forward.h" |
42 #include "wtf/HashSet.h" | 42 #include "wtf/HashSet.h" |
43 #include "wtf/Noncopyable.h" | 43 #include "wtf/Noncopyable.h" |
44 #include "wtf/text/WTFString.h" | 44 #include "wtf/text/WTFString.h" |
(...skipping 17 matching lines...) Expand all Loading... |
62 class ScrollingCoordinator; | 62 class ScrollingCoordinator; |
63 class Settings; | 63 class Settings; |
64 class SpellCheckerClient; | 64 class SpellCheckerClient; |
65 class ValidationMessageClient; | 65 class ValidationMessageClient; |
66 class WebLayerTreeView; | 66 class WebLayerTreeView; |
67 | 67 |
68 typedef uint64_t LinkHash; | 68 typedef uint64_t LinkHash; |
69 | 69 |
70 float deviceScaleFactor(LocalFrame*); | 70 float deviceScaleFactor(LocalFrame*); |
71 | 71 |
72 class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>, public Su
pplementable<Page>, public PageLifecycleNotifier, public SettingsDelegate { | 72 class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>, public Su
pplementable<Page>, public PageVisibilityNotifier, public SettingsDelegate { |
73 USING_GARBAGE_COLLECTED_MIXIN(Page); | 73 USING_GARBAGE_COLLECTED_MIXIN(Page); |
74 WTF_MAKE_NONCOPYABLE(Page); | 74 WTF_MAKE_NONCOPYABLE(Page); |
75 friend class Settings; | 75 friend class Settings; |
76 public: | 76 public: |
77 // It is up to the platform to ensure that non-null clients are provided whe
re required. | 77 // It is up to the platform to ensure that non-null clients are provided whe
re required. |
78 struct CORE_EXPORT PageClients final { | 78 struct CORE_EXPORT PageClients final { |
79 STACK_ALLOCATED(); | 79 STACK_ALLOCATED(); |
80 WTF_MAKE_NONCOPYABLE(PageClients); | 80 WTF_MAKE_NONCOPYABLE(PageClients); |
81 public: | 81 public: |
82 PageClients(); | 82 PageClients(); |
(...skipping 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 Member<FrameHost> m_frameHost; | 269 Member<FrameHost> m_frameHost; |
270 | 270 |
271 Timer<Page> m_timerForCompressStrings; | 271 Timer<Page> m_timerForCompressStrings; |
272 }; | 272 }; |
273 | 273 |
274 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; | 274 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
275 | 275 |
276 } // namespace blink | 276 } // namespace blink |
277 | 277 |
278 #endif // Page_h | 278 #endif // Page_h |
OLD | NEW |