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