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