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 132 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
143 | 143 |
144 // Kill switch for Web Notification content images. | 144 // Kill switch for Web Notification content images. |
145 const base::Feature kNotificationContentImage{"NotificationContentImage", | 145 const base::Feature kNotificationContentImage{"NotificationContentImage", |
146 base::FEATURE_ENABLED_BY_DEFAULT}; | 146 base::FEATURE_ENABLED_BY_DEFAULT}; |
147 // An experiment forcing events to be non-blocking when the main thread is | 147 // An experiment forcing events to be non-blocking when the main thread is |
148 // deemed unresponsive. See crbug.com/599609. | 148 // deemed unresponsive. See crbug.com/599609. |
149 const base::Feature kMainThreadBusyScrollIntervention{ | 149 const base::Feature kMainThreadBusyScrollIntervention{ |
150 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; | 150 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; |
151 | 151 |
152 // Experimental resource fetch optimizations for workers. See crbug.com/443374 | 152 // Experimental resource fetch optimizations for workers. See crbug.com/443374 |
| 153 // TODO(horo): This must be DISABLED_BY_DEFAULT for the production patch. We use |
| 154 // DISABLED_BY_DEFAULT only for the POC patch. |
153 const base::Feature kOffMainThreadFetch{"OffMainThreadFetch", | 155 const base::Feature kOffMainThreadFetch{"OffMainThreadFetch", |
154 base::FEATURE_DISABLED_BY_DEFAULT}; | 156 base::FEATURE_ENABLED_BY_DEFAULT}; |
155 | 157 |
156 // Origin Trials for controlling access to feature/API experiments. | 158 // Origin Trials for controlling access to feature/API experiments. |
157 const base::Feature kOriginTrials{"OriginTrials", | 159 const base::Feature kOriginTrials{"OriginTrials", |
158 base::FEATURE_ENABLED_BY_DEFAULT}; | 160 base::FEATURE_ENABLED_BY_DEFAULT}; |
159 | 161 |
160 // Whether a download can be handled by parallel jobs. | 162 // Whether a download can be handled by parallel jobs. |
161 const base::Feature kParallelDownloading{ | 163 const base::Feature kParallelDownloading{ |
162 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; | 164 "ParallelDownloading", base::FEATURE_DISABLED_BY_DEFAULT}; |
163 | 165 |
164 // Whether document level event listeners should default 'passive' to true. | 166 // Whether document level event listeners should default 'passive' to true. |
(...skipping 175 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
340 #endif | 342 #endif |
341 | 343 |
342 #if defined(OS_WIN) | 344 #if defined(OS_WIN) |
343 // Emergency "off switch" for new Windows sandbox security mitigation, | 345 // Emergency "off switch" for new Windows sandbox security mitigation, |
344 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 346 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
345 const base::Feature kWinSboxDisableExtensionPoints{ | 347 const base::Feature kWinSboxDisableExtensionPoints{ |
346 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 348 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
347 #endif | 349 #endif |
348 | 350 |
349 } // namespace features | 351 } // namespace features |
OLD | NEW |