| OLD | NEW |
| 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 196 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 207 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 207 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
| 208 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 208 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
| 209 base::FEATURE_ENABLED_BY_DEFAULT}; | 209 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 210 | 210 |
| 211 // Navigation preload feature of service workers. | 211 // Navigation preload feature of service workers. |
| 212 const base::Feature kServiceWorkerNavigationPreload{ | 212 const base::Feature kServiceWorkerNavigationPreload{ |
| 213 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; | 213 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 214 | 214 |
| 215 // http://tc39.github.io/ecmascript_sharedmem/shmem.html | 215 // http://tc39.github.io/ecmascript_sharedmem/shmem.html |
| 216 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", | 216 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", |
| 217 base::FEATURE_ENABLED_BY_DEFAULT}; | 217 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 218 | 218 |
| 219 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW | 219 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW |
| 220 const base::Feature kSlimmingPaintInvalidation{ | 220 const base::Feature kSlimmingPaintInvalidation{ |
| 221 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT}; | 221 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 222 | 222 |
| 223 // Throttle Blink timers in out-of-view cross origin frames. | 223 // Throttle Blink timers in out-of-view cross origin frames. |
| 224 const base::Feature kTimerThrottlingForHiddenFrames{ | 224 const base::Feature kTimerThrottlingForHiddenFrames{ |
| 225 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT}; | 225 "TimerThrottlingForHiddenFrames", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 226 | 226 |
| 227 // Enables token binding | 227 // Enables token binding |
| (...skipping 101 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 #endif | 329 #endif |
| 330 | 330 |
| 331 #if defined(OS_WIN) | 331 #if defined(OS_WIN) |
| 332 // Emergency "off switch" for new Windows sandbox security mitigation, | 332 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 333 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 333 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 334 const base::Feature kWinSboxDisableExtensionPoints{ | 334 const base::Feature kWinSboxDisableExtensionPoints{ |
| 335 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 335 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 336 #endif | 336 #endif |
| 337 | 337 |
| 338 } // namespace features | 338 } // namespace features |
| OLD | NEW |