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 257 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
268 | 268 |
269 // Use GpuMemoryBuffer backed VideoFrames in media streams. | 269 // Use GpuMemoryBuffer backed VideoFrames in media streams. |
270 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ | 270 const base::Feature kWebRtcUseGpuMemoryBufferVideoFrames{ |
271 "WebRTC-UseGpuMemoryBufferVideoFrames", | 271 "WebRTC-UseGpuMemoryBufferVideoFrames", |
272 base::FEATURE_DISABLED_BY_DEFAULT}; | 272 base::FEATURE_DISABLED_BY_DEFAULT}; |
273 | 273 |
274 // Enables HW H264 encoding on Android. | 274 // Enables HW H264 encoding on Android. |
275 const base::Feature kWebRtcHWH264Encoding{ | 275 const base::Feature kWebRtcHWH264Encoding{ |
276 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; | 276 "WebRtcHWH264Encoding", base::FEATURE_ENABLED_BY_DEFAULT}; |
277 | 277 |
| 278 // Enables HW VP8 encoding on Android. |
| 279 const base::Feature kWebRtcHWVP8Encoding { |
| 280 "WebRtcHWVP8Encoding", |
| 281 #if defined(OS_ANDROID) |
| 282 base::FEATURE_DISABLED_BY_DEFAULT |
| 283 #else |
| 284 base::FEATURE_ENABLED_BY_DEFAULT |
| 285 #endif |
| 286 }; |
| 287 |
278 // Enables the WebRTC Echo Canceller version 3 (AEC3). Feature for | 288 // Enables the WebRTC Echo Canceller version 3 (AEC3). Feature for |
279 // http://crbug.com/688388. This value is sent to WebRTC's echo canceller to | 289 // http://crbug.com/688388. This value is sent to WebRTC's echo canceller to |
280 // toggle which echo canceller should be used. | 290 // toggle which echo canceller should be used. |
281 const base::Feature kWebRtcUseEchoCanceller3{"WebRtcUseEchoCanceller3", | 291 const base::Feature kWebRtcUseEchoCanceller3{"WebRtcUseEchoCanceller3", |
282 base::FEATURE_DISABLED_BY_DEFAULT}; | 292 base::FEATURE_DISABLED_BY_DEFAULT}; |
283 | 293 |
284 // Controls whether the WebUSB API is enabled: | 294 // Controls whether the WebUSB API is enabled: |
285 // https://wicg.github.io/webusb | 295 // https://wicg.github.io/webusb |
286 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; | 296 const base::Feature kWebUsb{"WebUSB", base::FEATURE_ENABLED_BY_DEFAULT}; |
287 | 297 |
(...skipping 50 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
338 #endif // !defined(OS_ANDROID) | 348 #endif // !defined(OS_ANDROID) |
339 | 349 |
340 #if defined(OS_WIN) | 350 #if defined(OS_WIN) |
341 // Emergency "off switch" for new Windows sandbox security mitigation, | 351 // Emergency "off switch" for new Windows sandbox security mitigation, |
342 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. | 352 // sandbox::MITIGATION_EXTENSION_POINT_DISABLE. |
343 const base::Feature kWinSboxDisableExtensionPoints{ | 353 const base::Feature kWinSboxDisableExtensionPoints{ |
344 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; | 354 "WinSboxDisableExtensionPoint", base::FEATURE_ENABLED_BY_DEFAULT}; |
345 #endif | 355 #endif |
346 | 356 |
347 } // namespace features | 357 } // namespace features |
OLD | NEW |