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

Side by Side Diff: sky/engine/core/page/Page.h

Issue 709203002: Remove more oilpan. (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 6 years, 1 month 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
« no previous file with comments | « sky/engine/core/page/EventHandler.h ('k') | sky/engine/core/rendering/RenderObject.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 47 matching lines...) Expand 10 before | Expand all | Expand 10 after
58 class ScrollingCoordinator; 58 class ScrollingCoordinator;
59 class ServiceProvider; 59 class ServiceProvider;
60 class Settings; 60 class Settings;
61 class SpellCheckerClient; 61 class SpellCheckerClient;
62 class UndoStack; 62 class UndoStack;
63 63
64 typedef uint64_t LinkHash; 64 typedef uint64_t LinkHash;
65 65
66 float deviceScaleFactor(LocalFrame*); 66 float deviceScaleFactor(LocalFrame*);
67 67
68 class Page final : public DummyBase<Page>, public Supplementable<Page>, public L ifecycleContext<Page>, public SettingsDelegate { 68 class Page final : public Supplementable<Page>, public LifecycleContext<Page>, p ublic SettingsDelegate {
69 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(Page);
70 WTF_MAKE_NONCOPYABLE(Page); 69 WTF_MAKE_NONCOPYABLE(Page);
71 friend class Settings; 70 friend class Settings;
72 public: 71 public:
73 static void scheduleForcedStyleRecalcForAllPages(); 72 static void scheduleForcedStyleRecalcForAllPages();
74 73
75 // It is up to the platform to ensure that non-null clients are provided whe re required. 74 // It is up to the platform to ensure that non-null clients are provided whe re required.
76 struct PageClients { 75 struct PageClients {
77 WTF_MAKE_NONCOPYABLE(PageClients); WTF_MAKE_FAST_ALLOCATED; 76 WTF_MAKE_NONCOPYABLE(PageClients); WTF_MAKE_FAST_ALLOCATED;
78 public: 77 public:
79 PageClients(); 78 PageClients();
(...skipping 58 matching lines...) Expand 10 before | Expand all | Expand 10 after
138 bool isCursorVisible() const; 137 bool isCursorVisible() const;
139 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; } 138 void setIsCursorVisible(bool isVisible) { m_isCursorVisible = isVisible; }
140 139
141 #if ENABLE(ASSERT) 140 #if ENABLE(ASSERT)
142 void setIsPainting(bool painting) { m_isPainting = painting; } 141 void setIsPainting(bool painting) { m_isPainting = painting; }
143 bool isPainting() const { return m_isPainting; } 142 bool isPainting() const { return m_isPainting; }
144 #endif 143 #endif
145 144
146 double timerAlignmentInterval() const; 145 double timerAlignmentInterval() const;
147 146
148 class MultisamplingChangedObserver : public DummyBase<void> { 147 class MultisamplingChangedObserver {
149 public: 148 public:
150 virtual void multisamplingChanged(bool) = 0; 149 virtual void multisamplingChanged(bool) = 0;
151 }; 150 };
152 151
153 void addMultisamplingChangedObserver(MultisamplingChangedObserver*); 152 void addMultisamplingChangedObserver(MultisamplingChangedObserver*);
154 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*); 153 void removeMultisamplingChangedObserver(MultisamplingChangedObserver*);
155 154
156 void didCommitLoad(LocalFrame*); 155 void didCommitLoad(LocalFrame*);
157 156
158 void acceptLanguagesChanged(); 157 void acceptLanguagesChanged();
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after
221 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve rs; 220 HashSet<RawPtr<MultisamplingChangedObserver> > m_multisamplingChangedObserve rs;
222 221
223 // A pointer to all the interfaces provided to in-process Frames for this Pa ge. 222 // A pointer to all the interfaces provided to in-process Frames for this Pa ge.
224 // FIXME: Most of the members of Page should move onto FrameHost. 223 // FIXME: Most of the members of Page should move onto FrameHost.
225 OwnPtr<FrameHost> m_frameHost; 224 OwnPtr<FrameHost> m_frameHost;
226 }; 225 };
227 226
228 } // namespace blink 227 } // namespace blink
229 228
230 #endif // Page_h 229 #endif // Page_h
OLDNEW
« no previous file with comments | « sky/engine/core/page/EventHandler.h ('k') | sky/engine/core/rendering/RenderObject.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698