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 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
60 const base::Feature kMediaDocumentDownloadButton{ | 60 const base::Feature kMediaDocumentDownloadButton{ |
61 "MediaDocumentDownloadButton", | 61 "MediaDocumentDownloadButton", |
62 base::FEATURE_DISABLED_BY_DEFAULT | 62 base::FEATURE_DISABLED_BY_DEFAULT |
63 }; | 63 }; |
64 | 64 |
65 // Enable the material design playback UI for media elements. This is always | 65 // Enable the material design playback UI for media elements. This is always |
66 // on for OS_ANDROID, but may be enabled by experiment for other platforms. | 66 // on for OS_ANDROID, but may be enabled by experiment for other platforms. |
67 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", | 67 const base::Feature kNewMediaPlaybackUi{"NewMediaPlaybackUi", |
68 base::FEATURE_ENABLED_BY_DEFAULT}; | 68 base::FEATURE_ENABLED_BY_DEFAULT}; |
69 | 69 |
70 // An experiment forcing events to be treated as though their listeners are | |
71 // passive when the main thread is deemed unresponsive. | |
dtapuska
2016/08/23 16:18:29
s/passive/non-blocking ?
tdresser
2016/08/23 17:25:32
Done.
| |
72 // See crbug.com/599609. | |
73 const base::Feature kMainThreadBusyScrollIntervention{ | |
74 "MainThreadBusyScrollIntervention", base::FEATURE_DISABLED_BY_DEFAULT}; | |
75 | |
70 // Non-validating reload for desktop. | 76 // Non-validating reload for desktop. |
71 // See https://crbug.com/591245 | 77 // See https://crbug.com/591245 |
72 const base::Feature kNonValidatingReloadOnNormalReload{ | 78 const base::Feature kNonValidatingReloadOnNormalReload{ |
73 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT}; | 79 "NonValidatingReloadOnNormalReload", base::FEATURE_ENABLED_BY_DEFAULT}; |
74 | 80 |
75 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). | 81 // Non-validating reload on reload-to-refresh-content (e.g. pull-to-refresh). |
76 // See https://crbug.com/591245 | 82 // See https://crbug.com/591245 |
77 const base::Feature kNonValidatingReloadOnRefreshContent{ | 83 const base::Feature kNonValidatingReloadOnRefreshContent{ |
78 "NonValidatingReloadOnRefreshContentV2", | 84 "NonValidatingReloadOnRefreshContentV2", |
79 base::FEATURE_DISABLED_BY_DEFAULT}; | 85 base::FEATURE_DISABLED_BY_DEFAULT}; |
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
185 #endif | 191 #endif |
186 | 192 |
187 #if defined(OS_WIN) | 193 #if defined(OS_WIN) |
188 // Emergency "off switch" for new Windows sandbox security mitigation, | 194 // Emergency "off switch" for new Windows sandbox security mitigation, |
189 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 195 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
190 const base::Feature kWinSboxDisableExtensionPoints{ | 196 const base::Feature kWinSboxDisableExtensionPoints{ |
191 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 197 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
192 #endif | 198 #endif |
193 | 199 |
194 } // namespace features | 200 } // namespace features |
OLD | NEW |