| 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 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 // service_worker_version.h for the details. | 194 // service_worker_version.h for the details. |
| 195 const base::Feature kServiceWorkerNavigationPreload{ | 195 const base::Feature kServiceWorkerNavigationPreload{ |
| 196 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; | 196 "ServiceWorkerNavigationPreload", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 197 | 197 |
| 198 // http://tc39.github.io/ecmascript_sharedmem/shmem.html | 198 // http://tc39.github.io/ecmascript_sharedmem/shmem.html |
| 199 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", | 199 const base::Feature kSharedArrayBuffer{"SharedArrayBuffer", |
| 200 base::FEATURE_DISABLED_BY_DEFAULT}; | 200 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 201 | 201 |
| 202 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW | 202 // Paint invalidation based on slimming paint. See https://goo.gl/eQczQW |
| 203 const base::Feature kSlimmingPaintInvalidation{ | 203 const base::Feature kSlimmingPaintInvalidation{ |
| 204 "SlimmingPaintInvalidation", base::FEATURE_ENABLED_BY_DEFAULT}; | 204 "SlimmingPaintInvalidation", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 205 | 205 |
| 206 // Speculatively launches Service Workers on mouse/touch events. | 206 // Speculatively launches Service Workers on mouse/touch events. |
| 207 const base::Feature kSpeculativeLaunchServiceWorker{ | 207 const base::Feature kSpeculativeLaunchServiceWorker{ |
| 208 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; | 208 "SpeculativeLaunchServiceWorker", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 209 | 209 |
| 210 // Enables implementation of the Cache-Control: stale-while-revalidate directive | 210 // Enables implementation of the Cache-Control: stale-while-revalidate directive |
| 211 // which permits servers to allow the use of stale resources while revalidation | 211 // which permits servers to allow the use of stale resources while revalidation |
| 212 // proceeds in the background. See http://crbug.com/348877 | 212 // proceeds in the background. See http://crbug.com/348877 |
| 213 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", | 213 const base::Feature kStaleWhileRevalidate{"StaleWhileRevalidate2", |
| 214 base::FEATURE_DISABLED_BY_DEFAULT}; | 214 base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 #endif // !defined(OS_ANDROID) | 305 #endif // !defined(OS_ANDROID) |
| 306 | 306 |
| 307 #if defined(OS_WIN) | 307 #if defined(OS_WIN) |
| 308 // Emergency "off switch" for new Windows sandbox security mitigation, | 308 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 309 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 309 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 310 const base::Feature kWinSboxDisableExtensionPoints{ | 310 const base::Feature kWinSboxDisableExtensionPoints{ |
| 311 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 311 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 312 #endif | 312 #endif |
| 313 | 313 |
| 314 } // namespace features | 314 } // namespace features |
| OLD | NEW |