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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 base::FEATURE_ENABLED_BY_DEFAULT}; | 85 base::FEATURE_ENABLED_BY_DEFAULT}; |
86 | 86 |
87 // Paint optimizations including subsequence caching and empty phase skipping. | 87 // Paint optimizations including subsequence caching and empty phase skipping. |
88 const base::Feature kPaintOptimizations{"PaintOptimizations", | 88 const base::Feature kPaintOptimizations{"PaintOptimizations", |
89 base::FEATURE_ENABLED_BY_DEFAULT}; | 89 base::FEATURE_ENABLED_BY_DEFAULT}; |
90 | 90 |
91 // Whether the lookahead parser in Blink runs on the main thread. | 91 // Whether the lookahead parser in Blink runs on the main thread. |
92 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread", | 92 const base::Feature kParseHTMLOnMainThread{"ParseHTMLOnMainThread", |
93 base::FEATURE_DISABLED_BY_DEFAULT}; | 93 base::FEATURE_DISABLED_BY_DEFAULT}; |
94 | 94 |
95 // Partial support for pointer event feature. | 95 // Pointer events support. |
96 const base::Feature kPointerEvents{"PointerEvent", | 96 const base::Feature kPointerEvents{"PointerEvent", |
97 base::FEATURE_DISABLED_BY_DEFAULT}; | 97 base::FEATURE_DISABLED_BY_DEFAULT}; |
98 | 98 |
99 // Throttle Blink's rendering pipeline based on frame visibility. | 99 // Throttle Blink's rendering pipeline based on frame visibility. |
100 const base::Feature kRenderingPipelineThrottling{ | 100 const base::Feature kRenderingPipelineThrottling{ |
101 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; | 101 "RenderingPipelineThrottling", base::FEATURE_ENABLED_BY_DEFAULT}; |
102 | 102 |
103 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). | 103 // Scrolls to compensate for layout movements (bit.ly/scroll-anchoring). |
104 const base::Feature kScrollAnchoring{"ScrollAnchoring", | 104 const base::Feature kScrollAnchoring{"ScrollAnchoring", |
105 base::FEATURE_DISABLED_BY_DEFAULT}; | 105 base::FEATURE_DISABLED_BY_DEFAULT}; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
149 #endif | 149 #endif |
150 | 150 |
151 #if defined(OS_WIN) | 151 #if defined(OS_WIN) |
152 // Emergency "off switch" for new Windows sandbox security mitigation, | 152 // Emergency "off switch" for new Windows sandbox security mitigation, |
153 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 153 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
154 const base::Feature kWinSboxDisableExtensionPoints{ | 154 const base::Feature kWinSboxDisableExtensionPoints{ |
155 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 155 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
156 #endif | 156 #endif |
157 | 157 |
158 } // namespace features | 158 } // namespace features |
OLD | NEW |