| 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 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 142 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 142 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 143 | 143 |
| 144 #if defined(OS_ANDROID) | 144 #if defined(OS_ANDROID) |
| 145 // Allow videos to autoplay without a user gesture if muted. | 145 // Allow videos to autoplay without a user gesture if muted. |
| 146 const base::Feature kAutoplayMutedVideos{"AutoplayMutedVideos", | 146 const base::Feature kAutoplayMutedVideos{"AutoplayMutedVideos", |
| 147 base::FEATURE_ENABLED_BY_DEFAULT}; | 147 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 148 | 148 |
| 149 // Use IME's own thread instead of using main UI thread. It also means that | 149 // Use IME's own thread instead of using main UI thread. It also means that |
| 150 // we will not use replica editor and do a round trip to renderer to synchronize | 150 // we will not use replica editor and do a round trip to renderer to synchronize |
| 151 // with Blink data. | 151 // with Blink data. |
| 152 const base::Feature kImeThread{"ImeThread", base::FEATURE_DISABLED_BY_DEFAULT}; | 152 const base::Feature kImeThread{"ImeThread", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 153 | 153 |
| 154 // FeatureList definition for the Seccomp field trial. | 154 // FeatureList definition for the Seccomp field trial. |
| 155 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 155 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 156 base::FEATURE_DISABLED_BY_DEFAULT}; | 156 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 157 | 157 |
| 158 // The JavaScript API for payments on the web. | 158 // The JavaScript API for payments on the web. |
| 159 const base::Feature kWebPayments{"WebPayments", | 159 const base::Feature kWebPayments{"WebPayments", |
| 160 base::FEATURE_ENABLED_BY_DEFAULT}; | 160 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 161 | 161 |
| 162 #endif | 162 #endif |
| 163 | 163 |
| 164 #if defined(OS_WIN) | 164 #if defined(OS_WIN) |
| 165 // Emergency "off switch" for new Windows sandbox security mitigation, | 165 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 166 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 166 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 167 const base::Feature kWinSboxDisableExtensionPoints{ | 167 const base::Feature kWinSboxDisableExtensionPoints{ |
| 168 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 168 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 169 #endif | 169 #endif |
| 170 | 170 |
| 171 } // namespace features | 171 } // namespace features |
| OLD | NEW |