| 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 221 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 232 // Controls whether the WebUSB API is enabled: | 232 // Controls whether the WebUSB API is enabled: |
| 233 // https://wicg.github.io/webusb | 233 // https://wicg.github.io/webusb |
| 234 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 234 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 235 | 235 |
| 236 // Make sendBeacon throw for a Blob with a non simple type. | 236 // Make sendBeacon throw for a Blob with a non simple type. |
| 237 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ | 237 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ |
| 238 "SendBeaconThrowForBlobWithNonSimpleType", | 238 "SendBeaconThrowForBlobWithNonSimpleType", |
| 239 base::FEATURE_DISABLED_BY_DEFAULT}; | 239 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 240 | 240 |
| 241 #if defined(OS_ANDROID) | 241 #if defined(OS_ANDROID) |
| 242 // Allow videos to autoplay without a user gesture if muted. | |
| 243 const base::Feature kAutoplayMutedVideos{"AutoplayMutedVideos", | |
| 244 base::FEATURE_ENABLED_BY_DEFAULT}; | |
| 245 | |
| 246 // Use IME's own thread instead of using main UI thread. It also means that | 242 // Use IME's own thread instead of using main UI thread. It also means that |
| 247 // we will not use replica editor and do a round trip to renderer to synchronize | 243 // we will not use replica editor and do a round trip to renderer to synchronize |
| 248 // with Blink data. | 244 // with Blink data. |
| 249 const base::Feature kImeThread{"ImeThread", base::FEATURE_ENABLED_BY_DEFAULT}; | 245 const base::Feature kImeThread{"ImeThread", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 250 | 246 |
| 251 // FeatureList definition for the Seccomp field trial. | 247 // FeatureList definition for the Seccomp field trial. |
| 252 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", | 248 const base::Feature kSeccompSandboxAndroid{"SeccompSandboxAndroid", |
| 253 base::FEATURE_DISABLED_BY_DEFAULT}; | 249 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 254 | 250 |
| 255 // The JavaScript API for payments on the web. | 251 // The JavaScript API for payments on the web. |
| 256 const base::Feature kWebPayments{"WebPayments", | 252 const base::Feature kWebPayments{"WebPayments", |
| 257 base::FEATURE_ENABLED_BY_DEFAULT}; | 253 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 258 | 254 |
| 259 #endif | 255 #endif |
| 260 | 256 |
| 261 #if defined(OS_WIN) | 257 #if defined(OS_WIN) |
| 262 // Emergency "off switch" for new Windows sandbox security mitigation, | 258 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 263 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 259 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 264 const base::Feature kWinSboxDisableExtensionPoints{ | 260 const base::Feature kWinSboxDisableExtensionPoints{ |
| 265 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 261 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 266 #endif | 262 #endif |
| 267 | 263 |
| 268 } // namespace features | 264 } // namespace features |
| OLD | NEW |