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 54 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
65 class Settings; | 65 class Settings; |
66 class SpellCheckerClient; | 66 class SpellCheckerClient; |
67 class UndoStack; | 67 class UndoStack; |
68 class ValidationMessageClient; | 68 class ValidationMessageClient; |
69 class WebLayerTreeView; | 69 class WebLayerTreeView; |
70 | 70 |
71 typedef uint64_t LinkHash; | 71 typedef uint64_t LinkHash; |
72 | 72 |
73 float deviceScaleFactor(LocalFrame*); | 73 float deviceScaleFactor(LocalFrame*); |
74 | 74 |
75 class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>, public He
apSupplementable<Page>, public PageLifecycleNotifier, public SettingsDelegate, p
ublic MemoryPurgeClient { | 75 class CORE_EXPORT Page final : public GarbageCollectedFinalized<Page>, public Su
pplementable<Page>, public PageLifecycleNotifier, public SettingsDelegate, publi
c MemoryPurgeClient { |
76 USING_GARBAGE_COLLECTED_MIXIN(Page); | 76 USING_GARBAGE_COLLECTED_MIXIN(Page); |
77 WTF_MAKE_NONCOPYABLE(Page); | 77 WTF_MAKE_NONCOPYABLE(Page); |
78 friend class Settings; | 78 friend class Settings; |
79 public: | 79 public: |
80 // It is up to the platform to ensure that non-null clients are provided whe
re required. | 80 // It is up to the platform to ensure that non-null clients are provided whe
re required. |
81 struct CORE_EXPORT PageClients final { | 81 struct CORE_EXPORT PageClients final { |
82 STACK_ALLOCATED(); | 82 STACK_ALLOCATED(); |
83 WTF_MAKE_NONCOPYABLE(PageClients); | 83 WTF_MAKE_NONCOPYABLE(PageClients); |
84 public: | 84 public: |
85 PageClients(); | 85 PageClients(); |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
291 | 291 |
292 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 292 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
293 // FIXME: Most of the members of Page should move onto FrameHost. | 293 // FIXME: Most of the members of Page should move onto FrameHost. |
294 Member<FrameHost> m_frameHost; | 294 Member<FrameHost> m_frameHost; |
295 | 295 |
296 Member<MemoryPurgeController> m_memoryPurgeController; | 296 Member<MemoryPurgeController> m_memoryPurgeController; |
297 | 297 |
298 Timer<Page> m_timerForCompressStrings; | 298 Timer<Page> m_timerForCompressStrings; |
299 }; | 299 }; |
300 | 300 |
301 extern template class CORE_EXTERN_TEMPLATE_EXPORT HeapSupplement<Page>; | 301 extern template class CORE_EXTERN_TEMPLATE_EXPORT Supplement<Page>; |
302 | 302 |
303 } // namespace blink | 303 } // namespace blink |
304 | 304 |
305 #endif // Page_h | 305 #endif // Page_h |
OLD | NEW |