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 258 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
269 base::FEATURE_DISABLED_BY_DEFAULT}; | 269 base::FEATURE_DISABLED_BY_DEFAULT}; |
270 | 270 |
271 // Enable WebAssembly streamed compilation. | 271 // Enable WebAssembly streamed compilation. |
272 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", | 272 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", |
273 base::FEATURE_DISABLED_BY_DEFAULT}; | 273 base::FEATURE_DISABLED_BY_DEFAULT}; |
274 | 274 |
275 // Enable WebAssembly streamed compilation. | 275 // Enable WebAssembly streamed compilation. |
276 const base::Feature kWebAssemblyTrapHandler{"WebAssemblyTrapHandler", | 276 const base::Feature kWebAssemblyTrapHandler{"WebAssemblyTrapHandler", |
277 base::FEATURE_DISABLED_BY_DEFAULT}; | 277 base::FEATURE_DISABLED_BY_DEFAULT}; |
278 | 278 |
| 279 // Controls whether the WebAuthentication API is enabled: |
| 280 // https://w3c.github.io/webauthn |
| 281 const base::Feature kWebAuth{"WebAuthentication", |
| 282 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 283 |
279 // If WebGL Image Chromium is allowed, this feature controls whether it is | 284 // If WebGL Image Chromium is allowed, this feature controls whether it is |
280 // enabled. | 285 // enabled. |
281 const base::Feature kWebGLImageChromium{"WebGLImageChromium", | 286 const base::Feature kWebGLImageChromium{"WebGLImageChromium", |
282 base::FEATURE_ENABLED_BY_DEFAULT}; | 287 base::FEATURE_ENABLED_BY_DEFAULT}; |
283 | 288 |
284 // The JavaScript API for payments on the web. | 289 // The JavaScript API for payments on the web. |
285 const base::Feature kWebPayments{"WebPayments", | 290 const base::Feature kWebPayments{"WebPayments", |
286 base::FEATURE_ENABLED_BY_DEFAULT}; | 291 base::FEATURE_ENABLED_BY_DEFAULT}; |
287 | 292 |
288 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was | 293 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
350 #endif | 355 #endif |
351 | 356 |
352 #if defined(OS_WIN) | 357 #if defined(OS_WIN) |
353 // Emergency "off switch" for new Windows sandbox security mitigation, | 358 // Emergency "off switch" for new Windows sandbox security mitigation, |
354 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 359 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
355 const base::Feature kWinSboxDisableExtensionPoints{ | 360 const base::Feature kWinSboxDisableExtensionPoints{ |
356 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 361 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
357 #endif | 362 #endif |
358 | 363 |
359 } // namespace features | 364 } // namespace features |
OLD | NEW |