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 67 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 // Enables a blink::FontCache optimization that reuses a font to serve different | 78 // Enables a blink::FontCache optimization that reuses a font to serve different |
79 // size of font. | 79 // size of font. |
80 const base::Feature kFontCacheScaling{"FontCacheScaling", | 80 const base::Feature kFontCacheScaling{"FontCacheScaling", |
81 base::FEATURE_DISABLED_BY_DEFAULT}; | 81 base::FEATURE_DISABLED_BY_DEFAULT}; |
82 | 82 |
83 // Enables a security restriction on iframes navigating their top frame. | 83 // Enables a security restriction on iframes navigating their top frame. |
84 // When enabled, the navigation will only be permitted if the iframe is | 84 // When enabled, the navigation will only be permitted if the iframe is |
85 // same-origin to the top frame, or if a user gesture is being processed. | 85 // same-origin to the top frame, or if a user gesture is being processed. |
86 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ | 86 const base::Feature kFramebustingNeedsSameOriginOrUserGesture{ |
87 "FramebustingNeedsSameOriginOrUserGesture", | 87 "FramebustingNeedsSameOriginOrUserGesture", |
88 base::FEATURE_DISABLED_BY_DEFAULT}; | 88 base::FEATURE_ENABLED_BY_DEFAULT}; |
89 | 89 |
90 // Enables extended Gamepad API features like motion tracking and haptics. | 90 // Enables extended Gamepad API features like motion tracking and haptics. |
91 const base::Feature kGamepadExtensions{"GamepadExtensions", | 91 const base::Feature kGamepadExtensions{"GamepadExtensions", |
92 base::FEATURE_DISABLED_BY_DEFAULT}; | 92 base::FEATURE_DISABLED_BY_DEFAULT}; |
93 | 93 |
94 // Enables sensors based on Generic Sensor API: | 94 // Enables sensors based on Generic Sensor API: |
95 // https://w3c.github.io/sensors/ | 95 // https://w3c.github.io/sensors/ |
96 const base::Feature kGenericSensor{"GenericSensor", | 96 const base::Feature kGenericSensor{"GenericSensor", |
97 base::FEATURE_DISABLED_BY_DEFAULT}; | 97 base::FEATURE_DISABLED_BY_DEFAULT}; |
98 | 98 |
(...skipping 176 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 #endif // !defined(OS_ANDROID) | 275 #endif // !defined(OS_ANDROID) |
276 | 276 |
277 #if defined(OS_WIN) | 277 #if defined(OS_WIN) |
278 // Emergency "off switch" for new Windows sandbox security mitigation, | 278 // Emergency "off switch" for new Windows sandbox security mitigation, |
279 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 279 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
280 const base::Feature kWinSboxDisableExtensionPoints{ | 280 const base::Feature kWinSboxDisableExtensionPoints{ |
281 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 281 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
282 #endif | 282 #endif |
283 | 283 |
284 } // namespace features | 284 } // namespace features |
OLD | NEW |