| 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 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 236 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; | 236 "TouchpadAndWheelScrollLatching", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 237 | 237 |
| 238 // Enables VR UI. | 238 // Enables VR UI. |
| 239 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT}; | 239 const base::Feature kVrShell{"VrShell", base::FEATURE_DISABLED_BY_DEFAULT}; |
| 240 | 240 |
| 241 // Enable WebAssembly. | 241 // Enable WebAssembly. |
| 242 // http://webassembly.org/ | 242 // http://webassembly.org/ |
| 243 const base::Feature kWebAssembly{"WebAssembly", | 243 const base::Feature kWebAssembly{"WebAssembly", |
| 244 base::FEATURE_DISABLED_BY_DEFAULT}; | 244 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 245 | 245 |
| 246 // Controls whether the WebAuthentication API is enabled: |
| 247 // https://w3c.github.io/webauthn |
| 248 const base::Feature kWebAuth{"WebAuthentication", |
| 249 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 250 |
| 246 // If WebGL Image Chromium is allowed, this feature controls whether it is | 251 // If WebGL Image Chromium is allowed, this feature controls whether it is |
| 247 // enabled. | 252 // enabled. |
| 248 const base::Feature kWebGLImageChromium{"WebGLImageChromium", | 253 const base::Feature kWebGLImageChromium{"WebGLImageChromium", |
| 249 base::FEATURE_ENABLED_BY_DEFAULT}; | 254 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 250 | 255 |
| 251 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was | 256 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was |
| 252 // specified in JS). | 257 // specified in JS). |
| 253 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", | 258 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", |
| 254 base::FEATURE_ENABLED_BY_DEFAULT}; | 259 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 255 | 260 |
| (...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 319 #endif // !defined(OS_ANDROID) | 324 #endif // !defined(OS_ANDROID) |
| 320 | 325 |
| 321 #if defined(OS_WIN) | 326 #if defined(OS_WIN) |
| 322 // Emergency "off switch" for new Windows sandbox security mitigation, | 327 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 323 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 328 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 324 const base::Feature kWinSboxDisableExtensionPoints{ | 329 const base::Feature kWinSboxDisableExtensionPoints{ |
| 325 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 330 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 326 #endif | 331 #endif |
| 327 | 332 |
| 328 } // namespace features | 333 } // namespace features |
| OLD | NEW |