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 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
94 // Enables sensors based on Generic Sensor API: | 94 // Enables sensors based on Generic Sensor API: |
95 // https://w3c.github.io/sensors/ | 95 // https://w3c.github.io/sensors/ |
96 const base::Feature kGenericSensor{"GenericSensor", | 96 const base::Feature kGenericSensor{"GenericSensor", |
97 base::FEATURE_DISABLED_BY_DEFAULT}; | 97 base::FEATURE_DISABLED_BY_DEFAULT}; |
98 | 98 |
99 // Causes the implementations of guests (inner WebContents) to use | 99 // Causes the implementations of guests (inner WebContents) to use |
100 // out-of-process iframes. | 100 // out-of-process iframes. |
101 const base::Feature kGuestViewCrossProcessFrames{ | 101 const base::Feature kGuestViewCrossProcessFrames{ |
102 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; | 102 "GuestViewCrossProcessFrames", base::FEATURE_DISABLED_BY_DEFAULT}; |
103 | 103 |
| 104 // Enables BlinkGC heap compaction. |
| 105 const base::Feature kHeapCompaction{"HeapCompaction", |
| 106 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 107 |
104 // Enables lazily parsing css properties for performance. | 108 // Enables lazily parsing css properties for performance. |
105 const base::Feature kLazyParseCSS{"LazyParseCSS", | 109 const base::Feature kLazyParseCSS{"LazyParseCSS", |
106 base::FEATURE_DISABLED_BY_DEFAULT}; | 110 base::FEATURE_DISABLED_BY_DEFAULT}; |
107 | 111 |
108 // FeatureList definition for trials to enable the download button on | 112 // FeatureList definition for trials to enable the download button on |
109 // MediaDocument. | 113 // MediaDocument. |
110 const base::Feature kMediaDocumentDownloadButton{ | 114 const base::Feature kMediaDocumentDownloadButton{ |
111 "MediaDocumentDownloadButton", | 115 "MediaDocumentDownloadButton", |
112 base::FEATURE_DISABLED_BY_DEFAULT | 116 base::FEATURE_DISABLED_BY_DEFAULT |
113 }; | 117 }; |
(...skipping 161 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
275 #endif // !defined(OS_ANDROID) | 279 #endif // !defined(OS_ANDROID) |
276 | 280 |
277 #if defined(OS_WIN) | 281 #if defined(OS_WIN) |
278 // Emergency "off switch" for new Windows sandbox security mitigation, | 282 // Emergency "off switch" for new Windows sandbox security mitigation, |
279 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 283 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
280 const base::Feature kWinSboxDisableExtensionPoints{ | 284 const base::Feature kWinSboxDisableExtensionPoints{ |
281 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 285 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
282 #endif | 286 #endif |
283 | 287 |
284 } // namespace features | 288 } // namespace features |
OLD | NEW |