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