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

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

Issue 2501073002: Enable Root Document Level Passive Event Listeners (Closed)
Patch Set: Created 4 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
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 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
125 // Origin Trials for controlling access to feature/API experiments. 125 // Origin Trials for controlling access to feature/API experiments.
126 const base::Feature kOriginTrials{"OriginTrials", 126 const base::Feature kOriginTrials{"OriginTrials",
127 base::FEATURE_ENABLED_BY_DEFAULT}; 127 base::FEATURE_ENABLED_BY_DEFAULT};
128 128
129 // Whether the lookahead parser in Blink runs on the main thread. 129 // Whether the lookahead parser in Blink runs on the main thread.
130 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread", 130 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread",
131 base::FEATURE_DISABLED_BY_DEFAULT}; 131 base::FEATURE_DISABLED_BY_DEFAULT};
132 132
133 // Whether document level event listeners should default 'passive' to true. 133 // Whether document level event listeners should default 'passive' to true.
134 const base::Feature kPassiveDocumentEventListeners{ 134 const base::Feature kPassiveDocumentEventListeners{
135 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT}; 135 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT};
136 136
137 // Whether we should force a touchstart and first touchmove per scroll event 137 // Whether we should force a touchstart and first touchmove per scroll event
138 // listeners to be 'passive' during fling. 138 // listeners to be 'passive' during fling.
139 const base::Feature kPassiveEventListenersDueToFling{ 139 const base::Feature kPassiveEventListenersDueToFling{
140 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; 140 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT};
141 141
142 // Pointer events support. 142 // Pointer events support.
143 const base::Feature kPointerEvents{"PointerEvent", 143 const base::Feature kPointerEvents{"PointerEvent",
144 base::FEATURE_ENABLED_BY_DEFAULT}; 144 base::FEATURE_ENABLED_BY_DEFAULT};
145 145
(...skipping 113 matching lines...) Expand 10 before | Expand all | Expand 10 after
259 #endif 259 #endif
260 260
261 #if defined(OS_WIN) 261 #if defined(OS_WIN)
262 // Emergency "off switch" for new Windows sandbox security mitigation, 262 // Emergency "off switch" for new Windows sandbox security mitigation,
263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
264 const base::Feature kWinSboxDisableExtensionPoints{ 264 const base::Feature kWinSboxDisableExtensionPoints{
265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
266 #endif 266 #endif
267 267
268 } // namespace features 268 } // namespace features
OLDNEW
« no previous file with comments | « content/child/runtime_features.cc ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.in » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698