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