| 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 289 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 300 base::FEATURE_DISABLED_BY_DEFAULT}; | 300 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 301 | 301 |
| 302 // Enable WebAssembly streamed compilation. | 302 // Enable WebAssembly streamed compilation. |
| 303 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", | 303 const base::Feature kWebAssemblyStreaming{"WebAssemblyStreaming", |
| 304 base::FEATURE_DISABLED_BY_DEFAULT}; | 304 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 305 | 305 |
| 306 // Enable WebAssembly streamed compilation. | 306 // Enable WebAssembly streamed compilation. |
| 307 const base::Feature kWebAssemblyTrapHandler{"WebAssemblyTrapHandler", | 307 const base::Feature kWebAssemblyTrapHandler{"WebAssemblyTrapHandler", |
| 308 base::FEATURE_DISABLED_BY_DEFAULT}; | 308 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 309 | 309 |
| 310 // Controls whether the WebAuthentication API is enabled: |
| 311 // https://w3c.github.io/webauthn |
| 312 const base::Feature kWebAuth{"WebAuthentication", |
| 313 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 314 |
| 310 // If WebGL Image Chromium is allowed, this feature controls whether it is | 315 // If WebGL Image Chromium is allowed, this feature controls whether it is |
| 311 // enabled. | 316 // enabled. |
| 312 const base::Feature kWebGLImageChromium{"WebGLImageChromium", | 317 const base::Feature kWebGLImageChromium{"WebGLImageChromium", |
| 313 base::FEATURE_ENABLED_BY_DEFAULT}; | 318 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 314 | 319 |
| 315 // The JavaScript API for payments on the web. | 320 // The JavaScript API for payments on the web. |
| 316 const base::Feature kWebPayments{"WebPayments", | 321 const base::Feature kWebPayments{"WebPayments", |
| 317 base::FEATURE_ENABLED_BY_DEFAULT}; | 322 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 318 | 323 |
| 319 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was | 324 // 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... |
| 381 #endif | 386 #endif |
| 382 | 387 |
| 383 #if defined(OS_WIN) | 388 #if defined(OS_WIN) |
| 384 // Emergency "off switch" for new Windows sandbox security mitigation, | 389 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 385 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 390 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 386 const base::Feature kWinSboxDisableExtensionPoints{ | 391 const base::Feature kWinSboxDisableExtensionPoints{ |
| 387 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 392 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 388 #endif | 393 #endif |
| 389 | 394 |
| 390 } // namespace features | 395 } // namespace features |
| OLD | NEW |