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

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

Issue 1585383003: Add deprecation message for -webkit-background-composite (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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,
11 * but WITHOUT ANY WARRANTY; without even the implied warranty of 11 * but WITHOUT ANY WARRANTY; without even the implied warranty of
12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU 12 * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
13 * Library General Public License for more details. 13 * Library General Public License for more details.
14 * 14 *
15 * You should have received a copy of the GNU Library General Public License 15 * You should have received a copy of the GNU Library General Public License
16 * along with this library; see the file COPYING.LIB. If not, write to 16 * along with this library; see the file COPYING.LIB. If not, write to
17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, 17 * the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor,
18 * Boston, MA 02110-1301, USA. 18 * Boston, MA 02110-1301, USA.
19 */ 19 */
20 20
21 #ifndef Page_h 21 #ifndef Page_h
22 #define Page_h 22 #define Page_h
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/DeprecationHelper.h"
26 #include "core/frame/LocalFrame.h" 27 #include "core/frame/LocalFrame.h"
27 #include "core/frame/OriginsUsingFeatures.h" 28 #include "core/frame/OriginsUsingFeatures.h"
28 #include "core/frame/SettingsDelegate.h" 29 #include "core/frame/SettingsDelegate.h"
29 #include "core/frame/UseCounter.h" 30 #include "core/frame/UseCounter.h"
30 #include "core/page/Page.h" 31 #include "core/page/Page.h"
31 #include "core/page/PageAnimator.h" 32 #include "core/page/PageAnimator.h"
32 #include "core/page/PageLifecycleNotifier.h" 33 #include "core/page/PageLifecycleNotifier.h"
33 #include "core/page/PageLifecycleObserver.h" 34 #include "core/page/PageLifecycleObserver.h"
34 #include "core/page/PageVisibilityState.h" 35 #include "core/page/PageVisibilityState.h"
35 #include "platform/MemoryPurgeController.h" 36 #include "platform/MemoryPurgeController.h"
(...skipping 119 matching lines...) Expand 10 before | Expand all | Expand 10 after
155 void setValidationMessageClient(PassOwnPtrWillBeRawPtr<ValidationMessageClie nt>); 156 void setValidationMessageClient(PassOwnPtrWillBeRawPtr<ValidationMessageClie nt>);
156 157
157 ScrollingCoordinator* scrollingCoordinator(); 158 ScrollingCoordinator* scrollingCoordinator();
158 159
159 String mainThreadScrollingReasonsAsText(); 160 String mainThreadScrollingReasonsAsText();
160 ClientRectList* nonFastScrollableRects(const LocalFrame*); 161 ClientRectList* nonFastScrollableRects(const LocalFrame*);
161 162
162 Settings& settings() const { return *m_settings; } 163 Settings& settings() const { return *m_settings; }
163 164
164 UseCounter& useCounter() { return m_useCounter; } 165 UseCounter& useCounter() { return m_useCounter; }
166 DeprecationHelper& deprecationHelper() { return m_deprecationHelper; }
165 OriginsUsingFeatures& originsUsingFeatures() { return m_originsUsingFeatures ; } 167 OriginsUsingFeatures& originsUsingFeatures() { return m_originsUsingFeatures ; }
166 168
167 void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; } 169 void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; }
168 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; } 170 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; }
169 171
170 void unmarkAllTextMatches(); 172 void unmarkAllTextMatches();
171 173
172 // DefersLoading is used to delay loads during modal dialogs. 174 // DefersLoading is used to delay loads during modal dialogs.
173 // Modal dialogs are supposed to freeze all background processes 175 // Modal dialogs are supposed to freeze all background processes
174 // in the page, including prevent additional loads from staring/continuing. 176 // in the page, including prevent additional loads from staring/continuing.
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 // longer needed. 261 // longer needed.
260 RawPtrWillBeMember<Frame> m_mainFrame; 262 RawPtrWillBeMember<Frame> m_mainFrame;
261 263
262 mutable RefPtr<PluginData> m_pluginData; 264 mutable RefPtr<PluginData> m_pluginData;
263 265
264 EditorClient* const m_editorClient; 266 EditorClient* const m_editorClient;
265 SpellCheckerClient* const m_spellCheckerClient; 267 SpellCheckerClient* const m_spellCheckerClient;
266 OwnPtrWillBeMember<ValidationMessageClient> m_validationMessageClient; 268 OwnPtrWillBeMember<ValidationMessageClient> m_validationMessageClient;
267 269
268 UseCounter m_useCounter; 270 UseCounter m_useCounter;
271 DeprecationHelper m_deprecationHelper;
269 OriginsUsingFeatures m_originsUsingFeatures; 272 OriginsUsingFeatures m_originsUsingFeatures;
270 273
271 bool m_openedByDOM; 274 bool m_openedByDOM;
272 275
273 bool m_tabKeyCyclesThroughElements; 276 bool m_tabKeyCyclesThroughElements;
274 bool m_defersLoading; 277 bool m_defersLoading;
275 278
276 float m_deviceScaleFactor; 279 float m_deviceScaleFactor;
277 280
278 PageVisibilityState m_visibilityState; 281 PageVisibilityState m_visibilityState;
(...skipping 11 matching lines...) Expand all
290 OwnPtrWillBeMember<FrameHost> m_frameHost; 293 OwnPtrWillBeMember<FrameHost> m_frameHost;
291 294
292 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; 295 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController;
293 }; 296 };
294 297
295 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 298 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
296 299
297 } // namespace blink 300 } // namespace blink
298 301
299 #endif // Page_h 302 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698