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

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

Issue 2912403003: Add a feature for not compositing small scrollers (Closed)
Patch Set: Use uppercase-initial format for RuntimeEnabledFeature due to another patch that was landed earlier… 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 216 matching lines...) Expand 10 before | Expand all | Expand 10 after
227 base::FEATURE_ENABLED_BY_DEFAULT}; 227 base::FEATURE_ENABLED_BY_DEFAULT};
228 228
229 // Navigation preload feature of service workers. 229 // Navigation preload feature of service workers.
230 const base::Feature kServiceWorkerNavigationPreload{ 230 const base::Feature kServiceWorkerNavigationPreload{
231 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; 231 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT};
232 232
233 // http://tc39.github.io/ecmascript_sharedmem/shmem.html 233 // http://tc39.github.io/ecmascript_sharedmem/shmem.html
234 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", 234 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer",
235 base::FEATURE_ENABLED_BY_DEFAULT}; 235 base::FEATURE_ENABLED_BY_DEFAULT};
236 236
237 // An experiment for skipping compositing small scrollers.
238 const base::Feature kSkipCompositingSmallScrollers{
239 "SkipCompositingSmallScrollers", base::FEATURE_DISABLED_BY_DEFAULT};
240
237 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW 241 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW
238 const base::Feature kSlimmingPaintInvalidation{ 242 const base::Feature kSlimmingPaintInvalidation{
239 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT}; 243 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT};
240 244
241 // Throttle Blink timers in out-of-view cross origin frames. 245 // Throttle Blink timers in out-of-view cross origin frames.
242 const base::Feature kTimerThrottlingForHiddenFrames{ 246 const base::Feature kTimerThrottlingForHiddenFrames{
243 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT}; 247 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT};
244 248
245 // Enables token binding 249 // Enables token binding
246 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt). 250 // (https://www.ietf.org/id/draft-ietf-tokbind-protocol-04.txt).
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after
359 #endif 363 #endif
360 364
361 #if defined(OS_WIN) 365 #if defined(OS_WIN)
362 // Emergency "off switch" for new Windows sandbox security mitigation, 366 // Emergency "off switch" for new Windows sandbox security mitigation,
363 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. 367 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE.
364 const base::Feature kWinSboxDisableExtensionPoints{ 368 const base::Feature kWinSboxDisableExtensionPoints{
365 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; 369 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT};
366 #endif 370 #endif
367 371
368 } // 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