| 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 91 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 102 |
| 103 // Whether we should force a touchstart and first touchmove per scroll event | 103 // Whether we should force a touchstart and first touchmove per scroll event |
| 104 // listeners to be 'passive' during fling. | 104 // listeners to be 'passive' during fling. |
| 105 const base::Feature kPassiveEventListenersDueToFling{ | 105 const base::Feature kPassiveEventListenersDueToFling{ |
| 106 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; | 106 "PassiveEventListenersDueToFling", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 107 | 107 |
| 108 // Pointer events support. | 108 // Pointer events support. |
| 109 const base::Feature kPointerEvents{"PointerEvent", | 109 const base::Feature kPointerEvents{"PointerEvent", |
| 110 base::FEATURE_DISABLED_BY_DEFAULT}; | 110 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 111 | 111 |
| 112 // RAF aligned input events support. |
| 113 const base::Feature kRafAlignedInputEvents{"RafAlignedInput", |
| 114 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 115 |
| 112 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is | 116 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is |
| 113 // enabled. | 117 // enabled. |
| 114 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", | 118 const base::Feature kPepper3DImageChromium{"Pepper3DImageChromium", |
| 115 base::FEATURE_ENABLED_BY_DEFAULT}; | 119 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 116 | 120 |
| 117 // Throttle Blink's rendering pipeline based on frame visibility. | 121 // Throttle Blink's rendering pipeline based on frame visibility. |
| 118 const base::Feature kRenderingPipelineThrottling{ | 122 const base::Feature kRenderingPipelineThrottling{ |
| 119 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 123 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 120 | 124 |
| 121 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 125 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 185 #endif | 189 #endif |
| 186 | 190 |
| 187 #if defined(OS_WIN) | 191 #if defined(OS_WIN) |
| 188 // Emergency "off switch" for new Windows sandbox security mitigation, | 192 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 189 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 193 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 190 const base::Feature kWinSboxDisableExtensionPoints{ | 194 const base::Feature kWinSboxDisableExtensionPoints{ |
| 191 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 195 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 192 #endif | 196 #endif |
| 193 | 197 |
| 194 } // namespace features | 198 } // namespace features |
| OLD | NEW |