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_DISABLED_BY_DEFAULT}; | 217 base::FEATURE_ENABLED_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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
323 #endif | 323 #endif |
324 | 324 |
325 #if defined(OS_WIN) | 325 #if defined(OS_WIN) |
326 // Emergency "off switch" for new Windows sandbox security mitigation, | 326 // Emergency "off switch" for new Windows sandbox security mitigation, |
327 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 327 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
328 const base::Feature kWinSboxDisableExtensionPoints{ | 328 const base::Feature kWinSboxDisableExtensionPoints{ |
329 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 329 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
330 #endif | 330 #endif |
331 | 331 |
332 } // namespace features | 332 } // namespace features |
OLD | NEW |