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 118 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
129 }; | 129 }; |
130 | 130 |
131 // Kill switch for Web Notification content images. | 131 // Kill switch for Web Notification content images. |
132 const base::Feature kNotificationContentImage{"NotificationContentImage", | 132 const base::Feature kNotificationContentImage{"NotificationContentImage", |
133 base::FEATURE_ENABLED_BY_DEFAULT}; | 133 base::FEATURE_ENABLED_BY_DEFAULT}; |
134 // An experiment forcing events to be non-blocking when the main thread is | 134 // An experiment forcing events to be non-blocking when the main thread is |
135 // deemed unresponsive. See crbug.com/599609. | 135 // deemed unresponsive. See crbug.com/599609. |
136 const base::Feature kMainThreadBusyScrollIntervention{ | 136 const base::Feature kMainThreadBusyScrollIntervention{ |
137 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; | 137 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; |
138 | 138 |
| 139 // Experimental resource fetch optimizations for workers. See crbug.com/443374 |
| 140 const base::Feature kOffMainThreadFetch{"OffMainThreadFetch", |
| 141 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 |
139 // Origin Trials for controlling access to feature/API experiments. | 143 // Origin Trials for controlling access to feature/API experiments. |
140 const base::Feature kOriginTrials{"OriginTrials", | 144 const base::Feature kOriginTrials{"OriginTrials", |
141 base::FEATURE_ENABLED_BY_DEFAULT}; | 145 base::FEATURE_ENABLED_BY_DEFAULT}; |
142 | 146 |
143 // Whether a download can be handled by parallel jobs. | 147 // Whether a download can be handled by parallel jobs. |
144 const base::Feature kParallelDownloading{ | 148 const base::Feature kParallelDownloading{ |
145 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; | 149 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; |
146 | 150 |
147 // Whether document level event listeners should default 'passive' to true. | 151 // Whether document level event listeners should default 'passive' to true. |
148 const base::Feature kPassiveDocumentEventListeners{ | 152 const base::Feature kPassiveDocumentEventListeners{ |
(...skipping 162 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 #endif // !defined(OS_ANDROID) | 315 #endif // !defined(OS_ANDROID) |
312 | 316 |
313 #if defined(OS_WIN) | 317 #if defined(OS_WIN) |
314 // Emergency "off switch" for new Windows sandbox security mitigation, | 318 // Emergency "off switch" for new Windows sandbox security mitigation, |
315 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 319 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
316 const base::Feature kWinSboxDisableExtensionPoints{ | 320 const base::Feature kWinSboxDisableExtensionPoints{ |
317 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 321 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
318 #endif | 322 #endif |
319 | 323 |
320 } // namespace features | 324 } // namespace features |
OLD | NEW |