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 "content/public/common/content_switches.h" | 5 #include "content/public/common/content_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 899 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
910 // Causes the process to run as a worker subprocess. | 910 // Causes the process to run as a worker subprocess. |
911 const char kWorkerProcess[] = "worker"; | 911 const char kWorkerProcess[] = "worker"; |
912 | 912 |
913 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 913 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
914 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 914 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
915 | 915 |
916 // Causes the process to run as a renderer zygote. | 916 // Causes the process to run as a renderer zygote. |
917 const char kZygoteProcess[] = "zygote"; | 917 const char kZygoteProcess[] = "zygote"; |
918 | 918 |
919 #if defined(ENABLE_WEBRTC) | 919 #if defined(ENABLE_WEBRTC) |
920 // Disable WebRTC device enumeration. | 920 // Enables audio processing in a MediaStreamTrack ? When this flag is on, aec, |
| 921 // Ns and AGC will be done per MediaStreamTrack instead of in PeerConnection. |
| 922 const char kEnableAudioTrackProcessing[] = "enable-audio-processor"; |
| 923 |
| 924 // Disables WebRTC device enumeration. |
921 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; | 925 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; |
922 | 926 |
923 // Disable WebRTC DataChannels SCTP wire protocol support. | 927 // Disables WebRTC DataChannels SCTP wire protocol support. |
924 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; | 928 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; |
925 | 929 |
926 // Disables HW decode acceleration for WebRTC. | 930 // Disables HW decode acceleration for WebRTC. |
927 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; | 931 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; |
928 | 932 |
929 // Disables HW encode acceleration for WebRTC. | 933 // Disables HW encode acceleration for WebRTC. |
930 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 934 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
931 | 935 |
932 // Enables WebRTC AEC recordings. | 936 // Enables WebRTC AEC recordings. |
933 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 937 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
934 | 938 |
935 // Enable WebRTC to open TCP server sockets. | 939 // Enables WebRTC to open TCP server sockets. |
936 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 940 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
937 | 941 |
938 // Enables VP8 HW encode acceleration for WebRTC. | 942 // Enables VP8 HW encode acceleration for WebRTC. |
939 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; | 943 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; |
940 #endif | 944 #endif |
941 | 945 |
942 #if defined(OS_ANDROID) | 946 #if defined(OS_ANDROID) |
943 // Disable user gesture requirement for the media element to enter fullscreen. | 947 // Disable user gesture requirement for the media element to enter fullscreen. |
944 const char kDisableGestureRequirementForMediaFullscreen[] = | 948 const char kDisableGestureRequirementForMediaFullscreen[] = |
945 "disable-gesture-requirement-for-media-fullscreen"; | 949 "disable-gesture-requirement-for-media-fullscreen"; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
989 #endif | 993 #endif |
990 | 994 |
991 #if defined(OS_POSIX) | 995 #if defined(OS_POSIX) |
992 // Causes the child processes to cleanly exit via calling exit(). | 996 // Causes the child processes to cleanly exit via calling exit(). |
993 const char kChildCleanExit[] = "child-clean-exit"; | 997 const char kChildCleanExit[] = "child-clean-exit"; |
994 #endif | 998 #endif |
995 | 999 |
996 // Don't dump stuff here, follow the same order as the header. | 1000 // Don't dump stuff here, follow the same order as the header. |
997 | 1001 |
998 } // namespace switches | 1002 } // namespace switches |
OLD | NEW |