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

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

Issue 2912403003: Add a feature for not compositing small scrollers (Closed)
Patch Set: Created 3 years, 6 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 125 matching lines...) Expand 10 before | Expand all | Expand 10 after
136 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; 136 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT};
137 137
138 // Enables the memory coordinator. 138 // Enables the memory coordinator.
139 // WARNING: 139 // WARNING:
140 // The memory coordinator is not ready for use and enabling this may cause 140 // The memory coordinator is not ready for use and enabling this may cause
141 // unexpected memory regression at this point. Please do not enable this. 141 // unexpected memory regression at this point. Please do not enable this.
142 const base::Feature kMemoryCoordinator { 142 const base::Feature kMemoryCoordinator {
143 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT 143 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT
144 }; 144 };
145 145
146 // An experiment for not compositing small scrollers.
147 const base::Feature kNotCompositeSmallScroller{
148 "kNotCompositeSmallScroller", base::FEATURE_DISABLED_BY_DEFAULT};
jwd 2017/06/02 18:27:35 Nit: Don't include the k in the string name of the
jwd 2017/06/02 18:27:35 Nit: Add a newline after this.
yigu 2017/06/02 18:39:02 Done.
146 // Kill switch for Web Notification content images. 149 // Kill switch for Web Notification content images.
147 const base::Feature kNotificationContentImage{"NotificationContentImage", 150 const base::Feature kNotificationContentImage{"NotificationContentImage",
148 base::FEATURE_ENABLED_BY_DEFAULT}; 151 base::FEATURE_ENABLED_BY_DEFAULT};
149 // An experiment forcing events to be non-blocking when the main thread is 152 // An experiment forcing events to be non-blocking when the main thread is
150 // deemed unresponsive. See crbug.com/599609. 153 // deemed unresponsive. See crbug.com/599609.
151 const base::Feature kMainThreadBusyScrollIntervention{ 154 const base::Feature kMainThreadBusyScrollIntervention{
152 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; 155 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT};
153 156
154 // Experimental resource fetch optimizations for workers. See crbug.com/443374 157 // Experimental resource fetch optimizations for workers. See crbug.com/443374
155 const base::Feature kOffMainThreadFetch{"OffMainThreadFetch", 158 const base::Feature kOffMainThreadFetch{"OffMainThreadFetch",
(...skipping 204 matching lines...) Expand 10 before | Expand all | Expand 10 after
360 #endif 363 #endif
361 364
362 #if defined(OS_WIN) 365 #if defined(OS_WIN)
363 // Emergency "off switch" for new Windows sandbox security mitigation, 366 // Emergency "off switch" for new Windows sandbox security mitigation,
364 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 367 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
365 const base::Feature kWinSboxDisableExtensionPoints{ 368 const base::Feature kWinSboxDisableExtensionPoints{
366 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 369 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
367 #endif 370 #endif
368 371
369 } // namespace features 372 } // namespace features
OLDNEW
« no previous file with comments | « content/public/common/content_features.h ('k') | third_party/WebKit/Source/platform/RuntimeEnabledFeatures.json5 » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698