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

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

Issue 2666993006: Enable ParseHTMLOnMainThread on TOT (Closed)
Patch Set: clean up virtual test suites Created 3 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 // 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 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 // An experiment to optimize resource loading IPC for small resources. 139 // An experiment to optimize resource loading IPC for small resources.
140 // http://crbug.com/580928 140 // http://crbug.com/580928
141 const base::Feature kOptimizeLoadingIPCForSmallResources{ 141 const base::Feature kOptimizeLoadingIPCForSmallResources{
142 "OptimizeLoadingIPCForSmallResources", 142 "OptimizeLoadingIPCForSmallResources",
143 base::FEATURE_DISABLED_BY_DEFAULT}; 143 base::FEATURE_DISABLED_BY_DEFAULT};
144 144
145 // Origin Trials for controlling access to feature/API experiments. 145 // Origin Trials for controlling access to feature/API experiments.
146 const base::Feature kOriginTrials{"OriginTrials", 146 const base::Feature kOriginTrials{"OriginTrials",
147 base::FEATURE_ENABLED_BY_DEFAULT}; 147 base::FEATURE_ENABLED_BY_DEFAULT};
148 148
149 // Whether the lookahead parser in Blink runs on the main thread.
150 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread",
151 base::FEATURE_DISABLED_BY_DEFAULT};
152
153 // Whether document level event listeners should default 'passive' to true. 149 // Whether document level event listeners should default 'passive' to true.
154 const base::Feature kPassiveDocumentEventListeners{ 150 const base::Feature kPassiveDocumentEventListeners{
155 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT}; 151 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT};
156 152
157 // Whether we should force a touchstart and first touchmove per scroll event 153 // Whether we should force a touchstart and first touchmove per scroll event
158 // listeners to be non-blocking during fling. 154 // listeners to be non-blocking during fling.
159 const base::Feature kPassiveEventListenersDueToFling{ 155 const base::Feature kPassiveEventListenersDueToFling{
160 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT}; 156 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT};
161 157
162 // Pointer events support. 158 // Pointer events support.
(...skipping 132 matching lines...) Expand 10 before | Expand all | Expand 10 after
295 #endif // !defined(OS_ANDROID) 291 #endif // !defined(OS_ANDROID)
296 292
297 #if defined(OS_WIN) 293 #if defined(OS_WIN)
298 // Emergency "off switch" for new Windows sandbox security mitigation, 294 // Emergency "off switch" for new Windows sandbox security mitigation,
299 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 295 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
300 const base::Feature kWinSboxDisableExtensionPoints{ 296 const base::Feature kWinSboxDisableExtensionPoints{
301 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 297 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
302 #endif 298 #endif
303 299
304 } // namespace features 300 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | testing/variations/fieldtrial_testing_config.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698