| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 // MediaDocument. | 117 // MediaDocument. |
| 118 const base::Feature kMediaDocumentDownloadButton{ | 118 const base::Feature kMediaDocumentDownloadButton{ |
| 119 "MediaDocumentDownloadButton", | 119 "MediaDocumentDownloadButton", |
| 120 base::FEATURE_DISABLED_BY_DEFAULT | 120 base::FEATURE_DISABLED_BY_DEFAULT |
| 121 }; | 121 }; |
| 122 | 122 |
| 123 // Enables the old algorithm for processing video constraints in getUserMedia(). | 123 // Enables the old algorithm for processing video constraints in getUserMedia(). |
| 124 const base::Feature kMediaStreamOldVideoConstraints{ | 124 const base::Feature kMediaStreamOldVideoConstraints{ |
| 125 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; | 125 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 126 | 126 |
| 127 // Enables the memory coordinator. | |
| 128 // WARNING: | |
| 129 // The memory coordinator is not ready for use and enabling this may cause | |
| 130 // unexpected memory regression at this point. Please do not enable this. | |
| 131 const base::Feature kMemoryCoordinator { | |
| 132 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT | |
| 133 }; | |
| 134 | |
| 135 // Kill switch for Web Notification content images. | 127 // Kill switch for Web Notification content images. |
| 136 const base::Feature kNotificationContentImage{"NotificationContentImage", | 128 const base::Feature kNotificationContentImage{"NotificationContentImage", |
| 137 base::FEATURE_ENABLED_BY_DEFAULT}; | 129 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 138 // An experiment forcing events to be non-blocking when the main thread is | 130 // An experiment forcing events to be non-blocking when the main thread is |
| 139 // deemed unresponsive. See crbug.com/599609. | 131 // deemed unresponsive. See crbug.com/599609. |
| 140 const base::Feature kMainThreadBusyScrollIntervention{ | 132 const base::Feature kMainThreadBusyScrollIntervention{ |
| 141 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; | 133 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 | 134 |
| 143 // Experimental resource fetch optimizations for workers. See crbug.com/443374 | 135 // Experimental resource fetch optimizations for workers. See crbug.com/443374 |
| 144 const base::Feature kOffMainThreadFetch{"OffMainThreadFetch", | 136 const base::Feature kOffMainThreadFetch{"OffMainThreadFetch", |
| (...skipping 174 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 #endif // !defined(OS_ANDROID) | 311 #endif // !defined(OS_ANDROID) |
| 320 | 312 |
| 321 #if defined(OS_WIN) | 313 #if defined(OS_WIN) |
| 322 // Emergency "off switch" for new Windows sandbox security mitigation, | 314 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 323 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 315 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 324 const base::Feature kWinSboxDisableExtensionPoints{ | 316 const base::Feature kWinSboxDisableExtensionPoints{ |
| 325 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 317 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 326 #endif | 318 #endif |
| 327 | 319 |
| 328 } // namespace features | 320 } // namespace features |
| OLD | NEW |