| 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 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 95 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; | 95 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 96 | 96 |
| 97 // Enables BlinkGC heap compaction. | 97 // Enables BlinkGC heap compaction. |
| 98 const base::Feature kHeapCompaction{"HeapCompaction", | 98 const base::Feature kHeapCompaction{"HeapCompaction", |
| 99 base::FEATURE_DISABLED_BY_DEFAULT}; | 99 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 100 | 100 |
| 101 // Enables lazily parsing css properties for performance. | 101 // Enables lazily parsing css properties for performance. |
| 102 const base::Feature kLazyParseCSS{"LazyParseCSS", | 102 const base::Feature kLazyParseCSS{"LazyParseCSS", |
| 103 base::FEATURE_DISABLED_BY_DEFAULT}; | 103 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 104 | 104 |
| 105 // Use Mojo IPC for resource loading. |
| 106 const base::Feature kLoadingWithMojo{"LoadingWithMojo", |
| 107 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 108 |
| 105 // FeatureList definition for trials to enable the download button on | 109 // FeatureList definition for trials to enable the download button on |
| 106 // MediaDocument. | 110 // MediaDocument. |
| 107 const base::Feature kMediaDocumentDownloadButton{ | 111 const base::Feature kMediaDocumentDownloadButton{ |
| 108 "MediaDocumentDownloadButton", | 112 "MediaDocumentDownloadButton", |
| 109 base::FEATURE_DISABLED_BY_DEFAULT | 113 base::FEATURE_DISABLED_BY_DEFAULT |
| 110 }; | 114 }; |
| 111 | 115 |
| 112 // Enables the memory coordinator. | 116 // Enables the memory coordinator. |
| 113 // WARNING: | 117 // WARNING: |
| 114 // The memory coordinator is not ready for use and enabling this may cause | 118 // The memory coordinator is not ready for use and enabling this may cause |
| (...skipping 183 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 298 #endif // !defined(OS_ANDROID) | 302 #endif // !defined(OS_ANDROID) |
| 299 | 303 |
| 300 #if defined(OS_WIN) | 304 #if defined(OS_WIN) |
| 301 // Emergency "off switch" for new Windows sandbox security mitigation, | 305 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 302 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 306 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 303 const base::Feature kWinSboxDisableExtensionPoints{ | 307 const base::Feature kWinSboxDisableExtensionPoints{ |
| 304 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 308 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 305 #endif | 309 #endif |
| 306 | 310 |
| 307 } // namespace features | 311 } // namespace features |
| OLD | NEW |