| 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 }; | 117 }; |
| 118 | 118 |
| 119 // Kill switch for Web Notification content images. | 119 // Kill switch for Web Notification content images. |
| 120 const base::Feature kNotificationContentImage{"NotificationContentImage", | 120 const base::Feature kNotificationContentImage{"NotificationContentImage", |
| 121 base::FEATURE_ENABLED_BY_DEFAULT}; | 121 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 122 // An experiment forcing events to be non-blocking when the main thread is | 122 // An experiment forcing events to be non-blocking when the main thread is |
| 123 // deemed unresponsive. See crbug.com/599609. | 123 // deemed unresponsive. See crbug.com/599609. |
| 124 const base::Feature kMainThreadBusyScrollIntervention{ | 124 const base::Feature kMainThreadBusyScrollIntervention{ |
| 125 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; | 125 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 126 | 126 |
| 127 // An experiment to optimize resource loading IPC for small resources. | |
| 128 // http://crbug.com/580928 | |
| 129 const base::Feature kOptimizeLoadingIPCForSmallResources{ | |
| 130 "OptimizeLoadingIPCForSmallResources", | |
| 131 base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 132 | |
| 133 // Origin Trials for controlling access to feature/API experiments. | 127 // Origin Trials for controlling access to feature/API experiments. |
| 134 const base::Feature kOriginTrials{"OriginTrials", | 128 const base::Feature kOriginTrials{"OriginTrials", |
| 135 base::FEATURE_ENABLED_BY_DEFAULT}; | 129 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 136 | 130 |
| 137 // Whether a download can be handled by parallel jobs. | 131 // Whether a download can be handled by parallel jobs. |
| 138 const base::Feature kParallelDownloading{ | 132 const base::Feature kParallelDownloading{ |
| 139 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; | 133 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 140 | 134 |
| 141 // Whether document level event listeners should default 'passive' to true. | 135 // Whether document level event listeners should default 'passive' to true. |
| 142 const base::Feature kPassiveDocumentEventListeners{ | 136 const base::Feature kPassiveDocumentEventListeners{ |
| (...skipping 157 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 #endif // !defined(OS_ANDROID) | 294 #endif // !defined(OS_ANDROID) |
| 301 | 295 |
| 302 #if defined(OS_WIN) | 296 #if defined(OS_WIN) |
| 303 // Emergency "off switch" for new Windows sandbox security mitigation, | 297 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 304 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 298 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 305 const base::Feature kWinSboxDisableExtensionPoints{ | 299 const base::Feature kWinSboxDisableExtensionPoints{ |
| 306 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 300 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 307 #endif | 301 #endif |
| 308 | 302 |
| 309 } // namespace features | 303 } // namespace features |
| OLD | NEW |