| 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 64 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 75 | 75 |
| 76 // Enables extended Gamepad API features like motion tracking and haptics. | 76 // Enables extended Gamepad API features like motion tracking and haptics. |
| 77 const base::Feature kGamepadExtensions{"GamepadExtensions", | 77 const base::Feature kGamepadExtensions{"GamepadExtensions", |
| 78 base::FEATURE_DISABLED_BY_DEFAULT}; | 78 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 79 | 79 |
| 80 // Enables sensors based on Generic Sensor API: | 80 // Enables sensors based on Generic Sensor API: |
| 81 // https://w3c.github.io/sensors/ | 81 // https://w3c.github.io/sensors/ |
| 82 const base::Feature kGenericSensor{"GenericSensor", | 82 const base::Feature kGenericSensor{"GenericSensor", |
| 83 base::FEATURE_DISABLED_BY_DEFAULT}; | 83 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 84 | 84 |
| 85 // Enables lazily parsing css properties for performance. |
| 86 const base::Feature kLazyParseCSS{"LazyParseCSS", |
| 87 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 85 | 88 |
| 86 // FeatureList definition for trials to enable the download button on | 89 // FeatureList definition for trials to enable the download button on |
| 87 // MediaDocument. | 90 // MediaDocument. |
| 88 const base::Feature kMediaDocumentDownloadButton{ | 91 const base::Feature kMediaDocumentDownloadButton{ |
| 89 "MediaDocumentDownloadButton", | 92 "MediaDocumentDownloadButton", |
| 90 base::FEATURE_DISABLED_BY_DEFAULT | 93 base::FEATURE_DISABLED_BY_DEFAULT |
| 91 }; | 94 }; |
| 92 | 95 |
| 93 // Enables the memory coordinator. | 96 // Enables the memory coordinator. |
| 94 // WARNING: | 97 // WARNING: |
| (...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 239 #endif | 242 #endif |
| 240 | 243 |
| 241 #if defined(OS_WIN) | 244 #if defined(OS_WIN) |
| 242 // Emergency "off switch" for new Windows sandbox security mitigation, | 245 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 243 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 246 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 244 const base::Feature kWinSboxDisableExtensionPoints{ | 247 const base::Feature kWinSboxDisableExtensionPoints{ |
| 245 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 248 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 246 #endif | 249 #endif |
| 247 | 250 |
| 248 } // namespace features | 251 } // namespace features |
| OLD | NEW |