Chromium Code Reviews| 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 // Pointer events support. | 134 // Pointer events support. |
| 135 const base::Feature kPointerEvents{"PointerEvent", | 135 const base::Feature kPointerEvents{"PointerEvent", |
| 136 base::FEATURE_ENABLED_BY_DEFAULT}; | 136 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 137 | 137 |
| 138 // Whether pointer event capturing follow v1 spec instead of v2 proposal. | 138 // Whether pointer event capturing follow v1 spec instead of v2 proposal. |
| 139 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. | 139 // See https://rawgit.com/w3c/pointerevents/reduce-hit-tests/index.html. |
| 140 const base::Feature kPointerEventV1SpecCapturing{ | 140 const base::Feature kPointerEventV1SpecCapturing{ |
| 141 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; | 141 "PointerEventV1SpecCapturing", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 142 | 142 |
| 143 // RAF aligned input events support. | 143 // RAF aligned touch input events support. |
| 144 const base::Feature kRafAlignedInputEvents{"RafAlignedInput", | 144 const base::Feature kRafAlignedTouchInputEvents{ |
|
rkaplow
2016/10/25 20:05:51
should be alphabetized
dtapuska
2016/10/26 02:34:52
Done.
| |
| 145 base::FEATURE_DISABLED_BY_DEFAULT}; | 145 "RafAlignedTouchInput", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 146 | |
| 147 // RAF aligned mouse input events support. | |
| 148 const base::Feature kRafAlignedMouseInputEvents{ | |
| 149 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; | |
| 146 | 150 |
| 147 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is | 151 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is |
| 148 // enabled. | 152 // enabled. |
| 149 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", | 153 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", |
| 150 base::FEATURE_ENABLED_BY_DEFAULT}; | 154 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 151 | 155 |
| 152 // Throttle Blink's rendering pipeline based on frame visibility. | 156 // Throttle Blink's rendering pipeline based on frame visibility. |
| 153 const base::Feature kRenderingPipelineThrottling{ | 157 const base::Feature kRenderingPipelineThrottling{ |
| 154 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 158 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 155 | 159 |
| (...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 240 #endif | 244 #endif |
| 241 | 245 |
| 242 #if defined(OS_WIN) | 246 #if defined(OS_WIN) |
| 243 // Emergency "off switch" for new Windows sandbox security mitigation, | 247 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 244 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 248 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 245 const base::Feature kWinSboxDisableExtensionPoints{ | 249 const base::Feature kWinSboxDisableExtensionPoints{ |
| 246 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 250 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 247 #endif | 251 #endif |
| 248 | 252 |
| 249 } // namespace features | 253 } // namespace features |
| OLD | NEW |