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 300 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
311 base::FEATURE_DISABLED_BY_DEFAULT}; | 311 base::FEATURE_DISABLED_BY_DEFAULT}; |
312 | 312 |
313 // Enable WebAssembly streamed compilation. | 313 // Enable WebAssembly streamed compilation. |
314 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", | 314 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", |
315 base::FEATURE_DISABLED_BY_DEFAULT}; | 315 base::FEATURE_DISABLED_BY_DEFAULT}; |
316 | 316 |
317 // Enable WebAssembly streamed compilation. | 317 // Enable WebAssembly streamed compilation. |
318 const base::Feature kWebAssemblyTrapHandler{"WebAssemblyTrapHandler", | 318 const base::Feature kWebAssemblyTrapHandler{"WebAssemblyTrapHandler", |
319 base::FEATURE_DISABLED_BY_DEFAULT}; | 319 base::FEATURE_DISABLED_BY_DEFAULT}; |
320 | 320 |
| 321 // Controls whether the WebAuthentication API is enabled: |
| 322 // https://w3c.github.io/webauthn |
| 323 const base::Feature kWebAuth{"WebAuthentication", |
| 324 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 325 |
321 // If WebGL Image Chromium is allowed, this feature controls whether it is | 326 // If WebGL Image Chromium is allowed, this feature controls whether it is |
322 // enabled. | 327 // enabled. |
323 const base::Feature kWebGLImageChromium{"WebGLImageChromium", | 328 const base::Feature kWebGLImageChromium{"WebGLImageChromium", |
324 base::FEATURE_ENABLED_BY_DEFAULT}; | 329 base::FEATURE_ENABLED_BY_DEFAULT}; |
325 | 330 |
326 // The JavaScript API for payments on the web. | 331 // The JavaScript API for payments on the web. |
327 const base::Feature kWebPayments{"WebPayments", | 332 const base::Feature kWebPayments{"WebPayments", |
328 base::FEATURE_ENABLED_BY_DEFAULT}; | 333 base::FEATURE_ENABLED_BY_DEFAULT}; |
329 | 334 |
330 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was | 335 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was |
(...skipping 68 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
399 #endif | 404 #endif |
400 | 405 |
401 #if defined(OS_MACOSX) | 406 #if defined(OS_MACOSX) |
402 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the | 407 // The V2 sandbox on MacOS removes the unsandboed warmup phase and sandboxes the |
403 // entire life of the process. | 408 // entire life of the process. |
404 const base::Feature kMacV2Sandbox{"MacV2Sandbox", | 409 const base::Feature kMacV2Sandbox{"MacV2Sandbox", |
405 base::FEATURE_DISABLED_BY_DEFAULT}; | 410 base::FEATURE_DISABLED_BY_DEFAULT}; |
406 #endif // defined(OS_MACOSX) | 411 #endif // defined(OS_MACOSX) |
407 | 412 |
408 } // namespace features | 413 } // namespace features |
OLD | NEW |