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

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, 10 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/Deprecation.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 120 matching lines...) Expand 10 before | Expand all | Expand 10 after
156 void setValidationMessageClient(PassOwnPtrWillBeRawPtr<ValidationMessageClie nt>); 157 void setValidationMessageClient(PassOwnPtrWillBeRawPtr<ValidationMessageClie nt>);
157 158
158 ScrollingCoordinator* scrollingCoordinator(); 159 ScrollingCoordinator* scrollingCoordinator();
159 160
160 String mainThreadScrollingReasonsAsText(); 161 String mainThreadScrollingReasonsAsText();
161 ClientRectList* nonFastScrollableRects(const LocalFrame*); 162 ClientRectList* nonFastScrollableRects(const LocalFrame*);
162 163
163 Settings& settings() const { return *m_settings; } 164 Settings& settings() const { return *m_settings; }
164 165
165 UseCounter& useCounter() { return m_useCounter; } 166 UseCounter& useCounter() { return m_useCounter; }
167 Deprecation& deprecation() { return m_deprecation; }
166 OriginsUsingFeatures& originsUsingFeatures() { return m_originsUsingFeatures ; } 168 OriginsUsingFeatures& originsUsingFeatures() { return m_originsUsingFeatures ; }
167 169
168 void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; } 170 void setTabKeyCyclesThroughElements(bool b) { m_tabKeyCyclesThroughElements = b; }
169 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; } 171 bool tabKeyCyclesThroughElements() const { return m_tabKeyCyclesThroughEleme nts; }
170 172
171 void unmarkAllTextMatches(); 173 void unmarkAllTextMatches();
172 174
173 // DefersLoading is used to delay loads during modal dialogs. 175 // DefersLoading is used to delay loads during modal dialogs.
174 // Modal dialogs are supposed to freeze all background processes 176 // Modal dialogs are supposed to freeze all background processes
175 // in the page, including prevent additional loads from staring/continuing. 177 // in the page, including prevent additional loads from staring/continuing.
(...skipping 85 matching lines...) Expand 10 before | Expand all | Expand 10 after
261 // longer needed. 263 // longer needed.
262 RawPtrWillBeMember<Frame> m_mainFrame; 264 RawPtrWillBeMember<Frame> m_mainFrame;
263 265
264 mutable RefPtr<PluginData> m_pluginData; 266 mutable RefPtr<PluginData> m_pluginData;
265 267
266 EditorClient* const m_editorClient; 268 EditorClient* const m_editorClient;
267 SpellCheckerClient* const m_spellCheckerClient; 269 SpellCheckerClient* const m_spellCheckerClient;
268 OwnPtrWillBeMember<ValidationMessageClient> m_validationMessageClient; 270 OwnPtrWillBeMember<ValidationMessageClient> m_validationMessageClient;
269 271
270 UseCounter m_useCounter; 272 UseCounter m_useCounter;
273 Deprecation m_deprecation;
271 OriginsUsingFeatures m_originsUsingFeatures; 274 OriginsUsingFeatures m_originsUsingFeatures;
272 275
273 bool m_openedByDOM; 276 bool m_openedByDOM;
274 277
275 bool m_tabKeyCyclesThroughElements; 278 bool m_tabKeyCyclesThroughElements;
276 bool m_defersLoading; 279 bool m_defersLoading;
277 280
278 float m_deviceScaleFactor; 281 float m_deviceScaleFactor;
279 282
280 PageVisibilityState m_visibilityState; 283 PageVisibilityState m_visibilityState;
(...skipping 13 matching lines...) Expand all
294 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController; 297 OwnPtrWillBeMember<MemoryPurgeController> m_memoryPurgeController;
295 298
296 Timer<Page> m_timerForCompressStrings; 299 Timer<Page> m_timerForCompressStrings;
297 }; 300 };
298 301
299 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>; 302 extern template class CORE_EXTERN_TEMPLATE_EXPORT WillBeHeapSupplement<Page>;
300 303
301 } // namespace blink 304 } // namespace blink
302 305
303 #endif // Page_h 306 #endif // Page_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698