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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 // Enables the Feature Policy framework for granting and removing access to | 42 // Enables the Feature Policy framework for granting and removing access to |
43 // other features through HTTP headers. | 43 // other features through HTTP headers. |
44 const base::Feature kFeaturePolicy{"FeaturePolicy", | 44 const base::Feature kFeaturePolicy{"FeaturePolicy", |
45 base::FEATURE_DISABLED_BY_DEFAULT}; | 45 base::FEATURE_DISABLED_BY_DEFAULT}; |
46 | 46 |
47 // Enables a blink::FontCache optimization that reuses a font to serve different | 47 // Enables a blink::FontCache optimization that reuses a font to serve different |
48 // size of font. | 48 // size of font. |
49 const base::Feature kFontCacheScaling{"FontCacheScaling", | 49 const base::Feature kFontCacheScaling{"FontCacheScaling", |
50 base::FEATURE_DISABLED_BY_DEFAULT}; | 50 base::FEATURE_DISABLED_BY_DEFAULT}; |
51 | 51 |
| 52 // Enables extended Gamepad API features like motion tracking and haptics. |
| 53 const base::Feature kGamepadExtensions{"GamepadExtensions", |
| 54 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 55 |
52 // FeatureList definition for trials to enable the download button on | 56 // FeatureList definition for trials to enable the download button on |
53 // MediaDocument. | 57 // MediaDocument. |
54 const base::Feature kMediaDocumentDownloadButton{ | 58 const base::Feature kMediaDocumentDownloadButton{ |
55 "MediaDocumentDownloadButton", | 59 "MediaDocumentDownloadButton", |
56 base::FEATURE_DISABLED_BY_DEFAULT | 60 base::FEATURE_DISABLED_BY_DEFAULT |
57 }; | 61 }; |
58 | 62 |
59 // Enable the material design playback UI for media elements. This is always | 63 // Enable the material design playback UI for media elements. This is always |
60 // on for OS_ANDROID, but may be enabled by experiment for other platforms. | 64 // on for OS_ANDROID, but may be enabled by experiment for other platforms. |
61 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", | 65 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
188 #endif | 192 #endif |
189 | 193 |
190 #if defined(OS_WIN) | 194 #if defined(OS_WIN) |
191 // Emergency "off switch" for new Windows sandbox security mitigation, | 195 // Emergency "off switch" for new Windows sandbox security mitigation, |
192 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 196 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
193 const base::Feature kWinSboxDisableExtensionPoints{ | 197 const base::Feature kWinSboxDisableExtensionPoints{ |
194 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 198 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
195 #endif | 199 #endif |
196 | 200 |
197 } // namespace features | 201 } // namespace features |
OLD | NEW |