| 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 94 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 105 const base::Feature kPassiveDocumentEventListeners{ | 105 const base::Feature kPassiveDocumentEventListeners{ |
| 106 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT}; | 106 "PassiveDocumentEventListeners", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 107 | 107 |
| 108 // Whether we should force a touchstart and first touchmove per scroll event | 108 // Whether we should force a touchstart and first touchmove per scroll event |
| 109 // listeners to be 'passive' during fling. | 109 // listeners to be 'passive' during fling. |
| 110 const base::Feature kPassiveEventListenersDueToFling{ | 110 const base::Feature kPassiveEventListenersDueToFling{ |
| 111 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; | 111 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 112 | 112 |
| 113 // Pointer events support. | 113 // Pointer events support. |
| 114 const base::Feature kPointerEvents{"PointerEvent", | 114 const base::Feature kPointerEvents{"PointerEvent", |
| 115 base::FEATURE_DISABLED_BY_DEFAULT}; | 115 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 116 | 116 |
| 117 // Whether pointer event capturing follow v1 spec instead of v2 proposal. | 117 // Whether pointer event capturing follow v1 spec instead of v2 proposal. |
| 118 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. | 118 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. |
| 119 const base::Feature kPointerEventV1SpecCapturing{ | 119 const base::Feature kPointerEventV1SpecCapturing{ |
| 120 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; | 120 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 121 | 121 |
| 122 // RAF aligned input events support. | 122 // RAF aligned input events support. |
| 123 const base::Feature kRafAlignedInputEvents{"RafAlignedInput", | 123 const base::Feature kRafAlignedInputEvents{"RafAlignedInput", |
| 124 base::FEATURE_DISABLED_BY_DEFAULT}; | 124 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 125 | 125 |
| (...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 199 #endif | 199 #endif |
| 200 | 200 |
| 201 #if defined(OS_WIN) | 201 #if defined(OS_WIN) |
| 202 // Emergency "off switch" for new Windows sandbox security mitigation, | 202 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 203 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 203 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 204 const base::Feature kWinSboxDisableExtensionPoints{ | 204 const base::Feature kWinSboxDisableExtensionPoints{ |
| 205 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 205 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 206 #endif | 206 #endif |
| 207 | 207 |
| 208 } // namespace features | 208 } // namespace features |
| OLD | NEW |