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 60 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
71 class Settings; | 71 class Settings; |
72 class SpellCheckerClient; | 72 class SpellCheckerClient; |
73 class StorageNamespace; | 73 class StorageNamespace; |
74 class UndoStack; | 74 class UndoStack; |
75 class ValidationMessageClient; | 75 class ValidationMessageClient; |
76 | 76 |
77 typedef uint64_t LinkHash; | 77 typedef uint64_t LinkHash; |
78 | 78 |
79 float deviceScaleFactor(LocalFrame*); | 79 float deviceScaleFactor(LocalFrame*); |
80 | 80 |
81 class Page FINAL : public NoBaseWillBeGarbageCollectedFinalized<Page>, public Su
pplementable<Page>, public LifecycleContext<Page>, public SettingsDelegate { | 81 class Page FINAL : public NoBaseWillBeGarbageCollectedFinalized<Page>, public Wi
llBeHeapSupplementable<Page>, public LifecycleContext<Page>, public SettingsDele
gate { |
| 82 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page); |
82 WTF_MAKE_NONCOPYABLE(Page); | 83 WTF_MAKE_NONCOPYABLE(Page); |
83 friend class Settings; | 84 friend class Settings; |
84 public: | 85 public: |
85 static void scheduleForcedStyleRecalcForAllPages(); | 86 static void scheduleForcedStyleRecalcForAllPages(); |
86 | 87 |
87 // It is up to the platform to ensure that non-null clients are provided whe
re required. | 88 // It is up to the platform to ensure that non-null clients are provided whe
re required. |
88 struct PageClients { | 89 struct PageClients { |
89 WTF_MAKE_NONCOPYABLE(PageClients); WTF_MAKE_FAST_ALLOCATED; | 90 WTF_MAKE_NONCOPYABLE(PageClients); WTF_MAKE_FAST_ALLOCATED; |
90 public: | 91 public: |
91 PageClients(); | 92 PageClients(); |
(...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
285 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m
ultisamplingChangedObservers; | 286 WillBeHeapHashSet<RawPtrWillBeWeakMember<MultisamplingChangedObserver> > m_m
ultisamplingChangedObservers; |
286 | 287 |
287 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. | 288 // A pointer to all the interfaces provided to in-process Frames for this Pa
ge. |
288 // FIXME: Most of the members of Page should move onto FrameHost. | 289 // FIXME: Most of the members of Page should move onto FrameHost. |
289 OwnPtr<FrameHost> m_frameHost; | 290 OwnPtr<FrameHost> m_frameHost; |
290 }; | 291 }; |
291 | 292 |
292 } // namespace WebCore | 293 } // namespace WebCore |
293 | 294 |
294 #endif // Page_h | 295 #endif // Page_h |
OLD | NEW |