| 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 181 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 base::FEATURE_ENABLED_BY_DEFAULT}; | 192 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 193 | 193 |
| 194 // Navigation preload feature of service workers. | 194 // Navigation preload feature of service workers. |
| 195 // Enables this base::Feature by default for Origin-Trial, but enables the | 195 // Enables this base::Feature by default for Origin-Trial, but enables the |
| 196 // corresponding blink::WebRuntimeFeatures only when '--enable-features' command | 196 // corresponding blink::WebRuntimeFeatures only when '--enable-features' command |
| 197 // line flag is given. See the comments in runtime_features.cc and | 197 // line flag is given. See the comments in runtime_features.cc and |
| 198 // service_worker_version.h for the details. | 198 // service_worker_version.h for the details. |
| 199 const base::Feature kServiceWorkerNavigationPreload{ | 199 const base::Feature kServiceWorkerNavigationPreload{ |
| 200 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; | 200 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 201 | 201 |
| 202 // Autofill Accessibility in Android. |
| 203 // crbug.com/627860 |
| 204 const base::Feature kAndroidAutofillAccessibility{ |
| 205 "AndroidAutofillAccessibility", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 206 |
| 202 // http://tc39.github.io/ecmascript_sharedmem/shmem.html | 207 // http://tc39.github.io/ecmascript_sharedmem/shmem.html |
| 203 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", | 208 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", |
| 204 base::FEATURE_DISABLED_BY_DEFAULT}; | 209 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 205 | 210 |
| 206 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW | 211 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW |
| 207 const base::Feature kSlimmingPaintInvalidation{ | 212 const base::Feature kSlimmingPaintInvalidation{ |
| 208 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT}; | 213 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 209 | 214 |
| 210 // Throttle Blink timers in out-of-view cross origin frames. | 215 // Throttle Blink timers in out-of-view cross origin frames. |
| 211 const base::Feature kTimerThrottlingForHiddenFrames{ | 216 const base::Feature kTimerThrottlingForHiddenFrames{ |
| (...skipping 87 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 299 #endif // !defined(OS_ANDROID) | 304 #endif // !defined(OS_ANDROID) |
| 300 | 305 |
| 301 #if defined(OS_WIN) | 306 #if defined(OS_WIN) |
| 302 // Emergency "off switch" for new Windows sandbox security mitigation, | 307 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 303 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 308 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 304 const base::Feature kWinSboxDisableExtensionPoints{ | 309 const base::Feature kWinSboxDisableExtensionPoints{ |
| 305 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 310 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 306 #endif | 311 #endif |
| 307 | 312 |
| 308 } // namespace features | 313 } // namespace features |
| OLD | NEW |