| 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 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 110 base::FEATURE_DISABLED_BY_DEFAULT}; | 110 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 111 | 111 |
| 112 // Enables lazily parsing css properties for performance. | 112 // Enables lazily parsing css properties for performance. |
| 113 const base::Feature kLazyParseCSS{"LazyParseCSS", | 113 const base::Feature kLazyParseCSS{"LazyParseCSS", |
| 114 base::FEATURE_DISABLED_BY_DEFAULT}; | 114 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 115 | 115 |
| 116 // Use Mojo IPC for resource loading. | 116 // Use Mojo IPC for resource loading. |
| 117 const base::Feature kLoadingWithMojo{"LoadingWithMojo", | 117 const base::Feature kLoadingWithMojo{"LoadingWithMojo", |
| 118 base::FEATURE_DISABLED_BY_DEFAULT}; | 118 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 119 | 119 |
| 120 // Experimental feature to trigger hard-reload on Location.reload(). |
| 121 // crbug.com/716339 |
| 122 const base::Feature kLocationHardReload{"LocationHardReload", |
| 123 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 124 |
| 120 // FeatureList definition for trials to enable the download button on | 125 // FeatureList definition for trials to enable the download button on |
| 121 // MediaDocument. | 126 // MediaDocument. |
| 122 const base::Feature kMediaDocumentDownloadButton{ | 127 const base::Feature kMediaDocumentDownloadButton{ |
| 123 "MediaDocumentDownloadButton", | 128 "MediaDocumentDownloadButton", |
| 124 base::FEATURE_DISABLED_BY_DEFAULT | 129 base::FEATURE_DISABLED_BY_DEFAULT |
| 125 }; | 130 }; |
| 126 | 131 |
| 127 // Enables the old algorithm for processing video constraints in getUserMedia(). | 132 // Enables the old algorithm for processing video constraints in getUserMedia(). |
| 128 const base::Feature kMediaStreamOldVideoConstraints{ | 133 const base::Feature kMediaStreamOldVideoConstraints{ |
| 129 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; | 134 "MediaStreamOldVideoConstraints", base::FEATURE_DISABLED_BY_DEFAULT}; |
| (...skipping 199 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 329 #endif | 334 #endif |
| 330 | 335 |
| 331 #if defined(OS_WIN) | 336 #if defined(OS_WIN) |
| 332 // Emergency "off switch" for new Windows sandbox security mitigation, | 337 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 333 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 338 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 334 const base::Feature kWinSboxDisableExtensionPoints{ | 339 const base::Feature kWinSboxDisableExtensionPoints{ |
| 335 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 340 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 336 #endif | 341 #endif |
| 337 | 342 |
| 338 } // namespace features | 343 } // namespace features |
| OLD | NEW |