| 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 149 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 160 | 160 |
| 161 // Whether document level event listeners should default 'passive' to true. | 161 // Whether document level event listeners should default 'passive' to true. |
| 162 const base::Feature kPassiveDocumentEventListeners{ | 162 const base::Feature kPassiveDocumentEventListeners{ |
| 163 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT}; | 163 "PassiveDocumentEventListeners", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 164 | 164 |
| 165 // Whether we should force a touchstart and first touchmove per scroll event | 165 // Whether we should force a touchstart and first touchmove per scroll event |
| 166 // listeners to be non-blocking during fling. | 166 // listeners to be non-blocking during fling. |
| 167 const base::Feature kPassiveEventListenersDueToFling{ | 167 const base::Feature kPassiveEventListenersDueToFling{ |
| 168 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT}; | 168 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 169 | 169 |
| 170 const base::Feature kPredictorPreconnect{"PredictorPreconnect", |
| 171 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 172 |
| 170 // Pointer events support. | 173 // Pointer events support. |
| 171 const base::Feature kPointerEvents{"PointerEvent", | 174 const base::Feature kPointerEvents{"PointerEvent", |
| 172 base::FEATURE_ENABLED_BY_DEFAULT}; | 175 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 173 | 176 |
| 174 // Enables Purge+Throttle on platforms except Android and MacOS. | 177 // Enables Purge+Throttle on platforms except Android and MacOS. |
| 175 // (Android) Purge+Throttle depends on TabManager, but TabManager doesn't | 178 // (Android) Purge+Throttle depends on TabManager, but TabManager doesn't |
| 176 // support Android. Enable after Android is supported. | 179 // support Android. Enable after Android is supported. |
| 177 // (MacOS X) Enable after Purge+Throttle handles memory pressure signals | 180 // (MacOS X) Enable after Purge+Throttle handles memory pressure signals |
| 178 // send by OS correctly. | 181 // send by OS correctly. |
| 179 const base::Feature kPurgeAndSuspend { | 182 const base::Feature kPurgeAndSuspend { |
| (...skipping 170 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 350 #endif | 353 #endif |
| 351 | 354 |
| 352 #if defined(OS_WIN) | 355 #if defined(OS_WIN) |
| 353 // Emergency "off switch" for new Windows sandbox security mitigation, | 356 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 354 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 357 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 355 const base::Feature kWinSboxDisableExtensionPoints{ | 358 const base::Feature kWinSboxDisableExtensionPoints{ |
| 356 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 359 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 357 #endif | 360 #endif |
| 358 | 361 |
| 359 } // namespace features | 362 } // namespace features |
| OLD | NEW |