| 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 117 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 128 | 128 |
| 129 // Pointer events support. | 129 // Pointer events support. |
| 130 const base::Feature kPointerEvents{"PointerEvent", | 130 const base::Feature kPointerEvents{"PointerEvent", |
| 131 base::FEATURE_ENABLED_BY_DEFAULT}; | 131 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 132 | 132 |
| 133 // Whether pointer event capturing follow v1 spec instead of v2 proposal. | 133 // Whether pointer event capturing follow v1 spec instead of v2 proposal. |
| 134 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. | 134 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. |
| 135 const base::Feature kPointerEventV1SpecCapturing{ | 135 const base::Feature kPointerEventV1SpecCapturing{ |
| 136 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; | 136 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 137 | 137 |
| 138 // Enables purge and suspend. |
| 139 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend", |
| 140 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 141 |
| 138 // RAF aligned mouse input events support. | 142 // RAF aligned mouse input events support. |
| 139 const base::Feature kRafAlignedMouseInputEvents{ | 143 const base::Feature kRafAlignedMouseInputEvents{ |
| 140 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; | 144 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 141 | 145 |
| 142 // RAF aligned touch input events support. | 146 // RAF aligned touch input events support. |
| 143 const base::Feature kRafAlignedTouchInputEvents{ | 147 const base::Feature kRafAlignedTouchInputEvents{ |
| 144 "RafAlignedTouchInput", base::FEATURE_DISABLED_BY_DEFAULT}; | 148 "RafAlignedTouchInput", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 145 | 149 |
| 146 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is | 150 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is |
| 147 // enabled. | 151 // enabled. |
| (...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 #endif | 243 #endif |
| 240 | 244 |
| 241 #if defined(OS_WIN) | 245 #if defined(OS_WIN) |
| 242 // Emergency "off switch" for new Windows sandbox security mitigation, | 246 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 243 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 247 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 244 const base::Feature kWinSboxDisableExtensionPoints{ | 248 const base::Feature kWinSboxDisableExtensionPoints{ |
| 245 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 249 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 246 #endif | 250 #endif |
| 247 | 251 |
| 248 } // namespace features | 252 } // namespace features |
| OLD | NEW |