| OLD | NEW |
| 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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_switches.h" | 6 #include "content/public/common/content_switches.h" |
| 7 | 7 |
| 8 namespace switches { | 8 namespace switches { |
| 9 | 9 |
| 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
| 11 // have an effect. 0 disables MSAA. | 11 // have an effect. 0 disables MSAA. |
| 12 const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count"; | 12 const char kAcceleratedCanvas2dMSAASampleCount[] = "canvas-msaa-sample-count"; |
| 13 | 13 |
| 14 // Enables a new tuning of the WebRTC Acoustic Echo Canceler (AEC). The new |
| 15 // tuning aims at resolving two issues with the AEC: |
| 16 // https://bugs.chromium.org/p/webrtc/issues/detail?id=5777 |
| 17 // https://bugs.chromium.org/p/webrtc/issues/detail?id=5778 |
| 18 // TODO(hlundin): Remove this switch when experimentation is over; |
| 19 // crbug.com/603821. |
| 20 const char kAecRefinedAdaptiveFilter[] = "aec-refined-adaptive-filter"; |
| 21 |
| 14 // Override the default minimum starting volume of the Automatic Gain Control | 22 // Override the default minimum starting volume of the Automatic Gain Control |
| 15 // algorithm in WebRTC used with audio tracks from getUserMedia. | 23 // algorithm in WebRTC used with audio tracks from getUserMedia. |
| 16 // The valid range is 12-255. Values outside that range will be clamped | 24 // The valid range is 12-255. Values outside that range will be clamped |
| 17 // to the lowest or highest valid value inside WebRTC. | 25 // to the lowest or highest valid value inside WebRTC. |
| 18 // TODO(tommi): Remove this switch when crbug.com/555577 is fixed. | 26 // TODO(tommi): Remove this switch when crbug.com/555577 is fixed. |
| 19 const char kAgcStartupMinVolume[] = "agc-startup-min-volume"; | 27 const char kAgcStartupMinVolume[] = "agc-startup-min-volume"; |
| 20 | 28 |
| 21 // By default, file:// URIs cannot read other file:// URIs. This is an | 29 // By default, file:// URIs cannot read other file:// URIs. This is an |
| 22 // override for developers who need the old behavior for testing. | 30 // override for developers who need the old behavior for testing. |
| 23 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; | 31 const char kAllowFileAccessFromFiles[] = "allow-file-access-from-files"; |
| (...skipping 993 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 1025 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
| 1018 | 1026 |
| 1019 // Enables the exporting of the tracing events to ETW. This is only supported on | 1027 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 1020 // Windows Vista and later. | 1028 // Windows Vista and later. |
| 1021 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 1029 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 1022 #endif | 1030 #endif |
| 1023 | 1031 |
| 1024 // Don't dump stuff here, follow the same order as the header. | 1032 // Don't dump stuff here, follow the same order as the header. |
| 1025 | 1033 |
| 1026 } // namespace switches | 1034 } // namespace switches |
| OLD | NEW |