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 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
85 }; | 85 }; |
86 | 86 |
87 // Enables the memory coordinator. | 87 // Enables the memory coordinator. |
88 // WARNING: | 88 // WARNING: |
89 // The memory coordinator is not ready for use and enabling this may cause | 89 // The memory coordinator is not ready for use and enabling this may cause |
90 // unexpected memory regression at this point. Please do not enable this. | 90 // unexpected memory regression at this point. Please do not enable this. |
91 const base::Feature kMemoryCoordinator { | 91 const base::Feature kMemoryCoordinator { |
92 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT | 92 "MemoryCoordinator", base::FEATURE_DISABLED_BY_DEFAULT |
93 }; | 93 }; |
94 | 94 |
95 // Enable the material design playback UI for media elements. This is always | |
96 // on for OS_ANDROID, but may be enabled by experiment for other platforms. | |
97 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", | |
98 base::FEATURE_ENABLED_BY_DEFAULT}; | |
99 | |
100 // Non-validating reload for desktop. | 95 // Non-validating reload for desktop. |
101 // See https://crbug.com/591245 | 96 // See https://crbug.com/591245 |
102 const base::Feature kNonValidatingReloadOnNormalReload{ | 97 const base::Feature kNonValidatingReloadOnNormalReload{ |
103 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT}; | 98 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT}; |
104 | 99 |
105 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). | 100 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). |
106 // See https://crbug.com/591245 | 101 // See https://crbug.com/591245 |
107 const base::Feature kNonValidatingReloadOnRefreshContent{ | 102 const base::Feature kNonValidatingReloadOnRefreshContent{ |
108 "NonValidatingReloadOnRefreshContentV2", | 103 "NonValidatingReloadOnRefreshContentV2", |
109 base::FEATURE_ENABLED_BY_DEFAULT}; | 104 base::FEATURE_ENABLED_BY_DEFAULT}; |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 #endif | 235 #endif |
241 | 236 |
242 #if defined(OS_WIN) | 237 #if defined(OS_WIN) |
243 // Emergency "off switch" for new Windows sandbox security mitigation, | 238 // Emergency "off switch" for new Windows sandbox security mitigation, |
244 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 239 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
245 const base::Feature kWinSboxDisableExtensionPoints{ | 240 const base::Feature kWinSboxDisableExtensionPoints{ |
246 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 241 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
247 #endif | 242 #endif |
248 | 243 |
249 } // namespace features | 244 } // namespace features |
OLD | NEW |