| 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 // Whether we should force a touchstart and first touchmove per scroll event | 137 // Whether we should force a touchstart and first touchmove per scroll event |
| 138 // listeners to be 'passive' during fling. | 138 // listeners to be 'passive' during fling. |
| 139 const base::Feature kPassiveEventListenersDueToFling{ | 139 const base::Feature kPassiveEventListenersDueToFling{ |
| 140 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; | 140 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 141 | 141 |
| 142 // Pointer events support. | 142 // Pointer events support. |
| 143 const base::Feature kPointerEvents{"PointerEvent", | 143 const base::Feature kPointerEvents{"PointerEvent", |
| 144 base::FEATURE_ENABLED_BY_DEFAULT}; | 144 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 145 | 145 |
| 146 // Whether pointer event capturing follow v1 spec instead of v2 proposal. | |
| 147 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. | |
| 148 const base::Feature kPointerEventV1SpecCapturing{ | |
| 149 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 150 | |
| 151 // Enables purge and suspend. | 146 // Enables purge and suspend. |
| 152 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend", | 147 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend", |
| 153 base::FEATURE_DISABLED_BY_DEFAULT}; | 148 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 154 | 149 |
| 155 // RAF aligned mouse input events support. | 150 // RAF aligned mouse input events support. |
| 156 const base::Feature kRafAlignedMouseInputEvents{ | 151 const base::Feature kRafAlignedMouseInputEvents{ |
| 157 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; | 152 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 158 | 153 |
| 159 // RAF aligned touch input events support. | 154 // RAF aligned touch input events support. |
| 160 const base::Feature kRafAlignedTouchInputEvents{ | 155 const base::Feature kRafAlignedTouchInputEvents{ |
| (...skipping 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 255 #endif | 250 #endif |
| 256 | 251 |
| 257 #if defined(OS_WIN) | 252 #if defined(OS_WIN) |
| 258 // Emergency "off switch" for new Windows sandbox security mitigation, | 253 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 259 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 254 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 260 const base::Feature kWinSboxDisableExtensionPoints{ | 255 const base::Feature kWinSboxDisableExtensionPoints{ |
| 261 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 256 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 262 #endif | 257 #endif |
| 263 | 258 |
| 264 } // namespace features | 259 } // namespace features |
| OLD | NEW |