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

Side by Side Diff: content/public/common/content_features.cc

Issue 2556723006: Enable PassiveDocumentEventListeners feature (Closed)
Patch Set: Created 4 years 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 | « no previous file | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_features.h" 6 #include "content/public/common/content_features.h"
7 7
8 namespace features { 8 namespace features {
9 9
10 // All features in alphabetical order. 10 // All features in alphabetical order.
(...skipping 118 matching lines...) Expand 10 before | Expand all | Expand 10 after
129 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread", 129 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread",
130 base::FEATURE_DISABLED_BY_DEFAULT}; 130 base::FEATURE_DISABLED_BY_DEFAULT};
131 131
132 // Whether document level event listeners should default 'passive' to true. 132 // Whether document level event listeners should default 'passive' to true.
133 const base::Feature kPassiveDocumentEventListeners{ 133 const base::Feature kPassiveDocumentEventListeners{
134 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT}; 134 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT};
135 135
136 // Whether we should force a touchstart and first touchmove per scroll event 136 // Whether we should force a touchstart and first touchmove per scroll event
137 // listeners to be 'passive' during fling. 137 // listeners to be 'passive' during fling.
138 const base::Feature kPassiveEventListenersDueToFling{ 138 const base::Feature kPassiveEventListenersDueToFling{
139 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; 139 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT};
140 140
141 // Pointer events support. 141 // Pointer events support.
142 const base::Feature kPointerEvents{"PointerEvent", 142 const base::Feature kPointerEvents{"PointerEvent",
143 base::FEATURE_ENABLED_BY_DEFAULT}; 143 base::FEATURE_ENABLED_BY_DEFAULT};
144 144
145 // Enables purge and suspend. 145 // Enables purge and suspend.
146 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend", 146 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend",
147 base::FEATURE_DISABLED_BY_DEFAULT}; 147 base::FEATURE_DISABLED_BY_DEFAULT};
148 148
149 // RAF aligned mouse input events support. 149 // RAF aligned mouse input events support.
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
263 #endif // !defined(OS_ANDROID) 263 #endif // !defined(OS_ANDROID)
264 264
265 #if defined(OS_WIN) 265 #if defined(OS_WIN)
266 // Emergency "off switch" for new Windows sandbox security mitigation, 266 // Emergency "off switch" for new Windows sandbox security mitigation,
267 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 267 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
268 const base::Feature kWinSboxDisableExtensionPoints{ 268 const base::Feature kWinSboxDisableExtensionPoints{
269 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 269 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
270 #endif 270 #endif
271 271
272 } // namespace features 272 } // namespace features
OLDNEW
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698