| 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 135 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 146 // If WebGL Image Chromium is allowed, this feature controls whether it is | 146 // If WebGL Image Chromium is allowed, this feature controls whether it is |
| 147 // enabled. | 147 // enabled. |
| 148 const base::Feature kWebGLImageChromium{"WebGLImageChromium", | 148 const base::Feature kWebGLImageChromium{"WebGLImageChromium", |
| 149 base::FEATURE_ENABLED_BY_DEFAULT}; | 149 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 150 | 150 |
| 151 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was | 151 // Makes WebRTC use ECDSA certs by default (i.e., when no cert type was |
| 152 // specified in JS). | 152 // specified in JS). |
| 153 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", | 153 const base::Feature kWebRtcEcdsaDefault {"WebRTC-EnableWebRtcEcdsa", |
| 154 base::FEATURE_ENABLED_BY_DEFAULT}; | 154 base::FEATURE_ENABLED_BY_DEFAULT}; |
| 155 | 155 |
| 156 // Use GpuMemoryBuffer backed VideoFrames in media streams. |
| 157 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ |
| 158 "WebRTC-UseGpuMemoryBufferVideoFrames", |
| 159 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 160 |
| 156 // Controls whether the WebUSB API is enabled: | 161 // Controls whether the WebUSB API is enabled: |
| 157 // https://wicg.github.io/webusb | 162 // https://wicg.github.io/webusb |
| 158 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 163 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 159 | 164 |
| 160 // Make sendBeacon throw for a Blob with a non simple type. | 165 // Make sendBeacon throw for a Blob with a non simple type. |
| 161 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ | 166 const base::Feature kSendBeaconThrowForBlobWithNonSimpleType{ |
| 162 "SendBeaconThrowForBlobWithNonSimpleType", | 167 "SendBeaconThrowForBlobWithNonSimpleType", |
| 163 base::FEATURE_DISABLED_BY_DEFAULT}; | 168 base::FEATURE_DISABLED_BY_DEFAULT}; |
| 164 | 169 |
| 165 #if defined(OS_ANDROID) | 170 #if defined(OS_ANDROID) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 183 #endif | 188 #endif |
| 184 | 189 |
| 185 #if defined(OS_WIN) | 190 #if defined(OS_WIN) |
| 186 // Emergency "off switch" for new Windows sandbox security mitigation, | 191 // Emergency "off switch" for new Windows sandbox security mitigation, |
| 187 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 192 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
| 188 const base::Feature kWinSboxDisableExtensionPoints{ | 193 const base::Feature kWinSboxDisableExtensionPoints{ |
| 189 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 194 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
| 190 #endif | 195 #endif |
| 191 | 196 |
| 192 } // namespace features | 197 } // namespace features |
| OLD | NEW |