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