| 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 90 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 101 base::FEATURE_DISABLED_BY_DEFAULT}; | 101 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 102 | 102 |
| 103 // Enables lazily parsing css properties for performance. | 103 // Enables lazily parsing css properties for performance. |
| 104 const base::Feature kLazyParseCSS{"LazyParseCSS", | 104 const base::Feature kLazyParseCSS{"LazyParseCSS", |
| 105 base::FEATURE_DISABLED_BY_DEFAULT}; | 105 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 106 | 106 |
| 107 // Use Mojo IPC for resource loading. | 107 // Use Mojo IPC for resource loading. |
| 108 const base::Feature kLoadingWithMojo{"LoadingWithMojo", | 108 const base::Feature kLoadingWithMojo{"LoadingWithMojo", |
| 109 base::FEATURE_DISABLED_BY_DEFAULT}; | 109 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 110 | 110 |
| 111 // Experimental feature to trigger hard-reload on Location.reload(). |
| 112 // crbug.com/716339 |
| 113 const base::Feature kLocationHardReload{"LocationHardReload", |
| 114 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 115 |
| 111 // FeatureList definition for trials to enable the download button on | 116 // FeatureList definition for trials to enable the download button on |
| 112 // MediaDocument. | 117 // MediaDocument. |
| 113 const base::Feature kMediaDocumentDownloadButton{ | 118 const base::Feature kMediaDocumentDownloadButton{ |
| 114 "MediaDocumentDownloadButton", | 119 "MediaDocumentDownloadButton", |
| 115 base::FEATURE_DISABLED_BY_DEFAULT | 120 base::FEATURE_DISABLED_BY_DEFAULT |
| 116 }; | 121 }; |
| 117 | 122 |
| 118 // Enables the old algorithm for processing video constraints in getUserMedia(). | 123 // Enables the old algorithm for processing video constraints in getUserMedia(). |
| 119 const base::Feature kMediaStreamOldVideoConstraints{ | 124 const base::Feature kMediaStreamOldVideoConstraints{ |
| 120 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; | 125 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 193 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 314 #endif // !defined(OS_ANDROID) | 319 #endif // !defined(OS_ANDROID) |
| 315 | 320 |
| 316 #if defined(OS_WIN) | 321 #if defined(OS_WIN) |
| 317 // Emergency "off switch" for new Windows sandbox security mitigation, | 322 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 318 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 323 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 319 const base::Feature kWinSboxDisableExtensionPoints{ | 324 const base::Feature kWinSboxDisableExtensionPoints{ |
| 320 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 325 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 321 #endif | 326 #endif |
| 322 | 327 |
| 323 } // namespace features | 328 } // namespace features |
| OLD | NEW |