| 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 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 182 base::FEATURE_ENABLED_BY_DEFAULT}; | 182 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 183 | 183 |
| 184 // Navigation preload feature of service workers. | 184 // Navigation preload feature of service workers. |
| 185 // Enables this base::Feature by default for Origin-Trial, but enables the | 185 // Enables this base::Feature by default for Origin-Trial, but enables the |
| 186 // corresponding blink::WebRuntimeFeatures only when '--enable-features' command | 186 // corresponding blink::WebRuntimeFeatures only when '--enable-features' command |
| 187 // line flag is given. See the comments in runtime_features.cc and | 187 // line flag is given. See the comments in runtime_features.cc and |
| 188 // service_worker_version.h for the details. | 188 // service_worker_version.h for the details. |
| 189 const base::Feature kServiceWorkerNavigationPreload{ | 189 const base::Feature kServiceWorkerNavigationPreload{ |
| 190 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; | 190 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 191 | 191 |
| 192 // Autofill Accessibility in Android. |
| 193 // crbug.com/627860 |
| 194 const base::Feature kAndroidAutofillAccessibility{ |
| 195 "AndroidAutofillAccessibility", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 196 |
| 192 // http://tc39.github.io/ecmascript_sharedmem/shmem.html | 197 // http://tc39.github.io/ecmascript_sharedmem/shmem.html |
| 193 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", | 198 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", |
| 194 base::FEATURE_DISABLED_BY_DEFAULT}; | 199 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 195 | 200 |
| 196 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW | 201 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW |
| 197 const base::Feature kSlimmingPaintInvalidation{ | 202 const base::Feature kSlimmingPaintInvalidation{ |
| 198 "SlimmingPaintInvalidation", base::FEATURE_DISABLED_BY_DEFAULT}; | 203 "SlimmingPaintInvalidation", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 199 | 204 |
| 200 // Speculatively launches Service Workers on mouse/touch events. | 205 // Speculatively launches Service Workers on mouse/touch events. |
| 201 const base::Feature kSpeculativeLaunchServiceWorker{ | 206 const base::Feature kSpeculativeLaunchServiceWorker{ |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 293 #endif // !defined(OS_ANDROID) | 298 #endif // !defined(OS_ANDROID) |
| 294 | 299 |
| 295 #if defined(OS_WIN) | 300 #if defined(OS_WIN) |
| 296 // Emergency "off switch" for new Windows sandbox security mitigation, | 301 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 297 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 302 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 298 const base::Feature kWinSboxDisableExtensionPoints{ | 303 const base::Feature kWinSboxDisableExtensionPoints{ |
| 299 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 304 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 300 #endif | 305 #endif |
| 301 | 306 |
| 302 } // namespace features | 307 } // namespace features |
| OLD | NEW |