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 133 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
144 // Whether we should force a touchstart and first touchmove per scroll event | 144 // Whether we should force a touchstart and first touchmove per scroll event |
145 // listeners to be non-blocking during fling. | 145 // listeners to be non-blocking during fling. |
146 const base::Feature kPassiveEventListenersDueToFling{ | 146 const base::Feature kPassiveEventListenersDueToFling{ |
147 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT}; | 147 "PassiveEventListenersDueToFling", base::FEATURE_ENABLED_BY_DEFAULT}; |
148 | 148 |
149 // Pointer events support. | 149 // Pointer events support. |
150 const base::Feature kPointerEvents{"PointerEvent", | 150 const base::Feature kPointerEvents{"PointerEvent", |
151 base::FEATURE_ENABLED_BY_DEFAULT}; | 151 base::FEATURE_ENABLED_BY_DEFAULT}; |
152 | 152 |
153 // Enables purge and suspend. | 153 // Enables purge and suspend. |
154 const base::Feature kPurgeAndSuspend{"PurgeAndSuspend", | 154 const base::Feature kPurgeAndSuspend { |
155 base::FEATURE_DISABLED_BY_DEFAULT}; | 155 "PurgeAndSuspend", |
156 #if defined(OS_MACOSX) || defined(OS_ANDROID) | |
Wez
2017/03/29 23:50:55
Is there a bug with context on why we don't enable
tasak
2017/03/30 09:26:12
Added.
So this comment looks ok?
| |
157 base::FEATURE_DISABLED_BY_DEFAULT | |
158 #else | |
159 base::FEATURE_ENABLED_BY_DEFAULT | |
160 #endif | |
161 }; | |
156 | 162 |
157 // RAF aligned mouse input events support. | 163 // RAF aligned mouse input events support. |
158 const base::Feature kRafAlignedMouseInputEvents{ | 164 const base::Feature kRafAlignedMouseInputEvents{ |
159 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; | 165 "RafAlignedMouseInput", base::FEATURE_DISABLED_BY_DEFAULT}; |
160 | 166 |
161 // RAF aligned touch input events support. | 167 // RAF aligned touch input events support. |
162 const base::Feature kRafAlignedTouchInputEvents{ | 168 const base::Feature kRafAlignedTouchInputEvents{ |
163 "RafAlignedTouchInput", base::FEATURE_ENABLED_BY_DEFAULT}; | 169 "RafAlignedTouchInput", base::FEATURE_ENABLED_BY_DEFAULT}; |
164 | 170 |
165 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is | 171 // If Pepper 3D Image Chromium is allowed, this feature controls whether it is |
(...skipping 127 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
293 #endif // !defined(OS_ANDROID) | 299 #endif // !defined(OS_ANDROID) |
294 | 300 |
295 #if defined(OS_WIN) | 301 #if defined(OS_WIN) |
296 // Emergency "off switch" for new Windows sandbox security mitigation, | 302 // Emergency "off switch" for new Windows sandbox security mitigation, |
297 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 303 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
298 const base::Feature kWinSboxDisableExtensionPoints{ | 304 const base::Feature kWinSboxDisableExtensionPoints{ |
299 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 305 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
300 #endif | 306 #endif |
301 | 307 |
302 } // namespace features | 308 } // namespace features |
OLD | NEW |