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 902 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
913 // Causes the process to run as a worker subprocess. | 913 // Causes the process to run as a worker subprocess. |
914 const char kWorkerProcess[] = "worker"; | 914 const char kWorkerProcess[] = "worker"; |
915 | 915 |
916 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 916 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
917 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 917 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
918 | 918 |
919 // Causes the process to run as a renderer zygote. | 919 // Causes the process to run as a renderer zygote. |
920 const char kZygoteProcess[] = "zygote"; | 920 const char kZygoteProcess[] = "zygote"; |
921 | 921 |
922 #if defined(ENABLE_WEBRTC) | 922 #if defined(ENABLE_WEBRTC) |
923 // Disable WebRTC device enumeration. | 923 // Enables audio processing in a MediaStreamTrack. When this flag is on, aec, |
Henrik Grunell
2013/11/12 12:46:37
Use caps for the abbreviations: AEC, NS and AGC.
no longer working on chromium
2013/11/12 13:43:22
Done.
| |
924 // Ns and AGC will be done per MediaStreamTrack instead of in PeerConnection. | |
Henrik Grunell
2013/11/12 12:46:37
In PeerConnection isn't really true. I think it's
no longer working on chromium
2013/11/12 13:43:22
Talked offline, agreed to keep what it is.
| |
925 const char kEnableAudioTrackProcessing[] = "enable-audio-processor"; | |
926 | |
927 // Disables WebRTC device enumeration. | |
924 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; | 928 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; |
925 | 929 |
926 // Disable WebRTC DataChannels SCTP wire protocol support. | 930 // Disables WebRTC DataChannels SCTP wire protocol support. |
927 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; | 931 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; |
928 | 932 |
929 // Disables HW decode acceleration for WebRTC. | 933 // Disables HW decode acceleration for WebRTC. |
930 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; | 934 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; |
931 | 935 |
932 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 936 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
933 // ignores this switch on its stable and beta channels. | 937 // ignores this switch on its stable and beta channels. |
934 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 938 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
935 | 939 |
936 // Disables HW encode acceleration for WebRTC. | 940 // Disables HW encode acceleration for WebRTC. |
937 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 941 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
938 | 942 |
939 // Enables WebRTC AEC recordings. | 943 // Enables WebRTC AEC recordings. |
940 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 944 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
941 | 945 |
942 // Enable WebRTC to open TCP server sockets. | 946 // Enables WebRTC to open TCP server sockets. |
943 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 947 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
944 | 948 |
945 // Enables VP8 HW encode acceleration for WebRTC. | 949 // Enables VP8 HW encode acceleration for WebRTC. |
946 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; | 950 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; |
947 #endif | 951 #endif |
948 | 952 |
949 #if defined(OS_ANDROID) | 953 #if defined(OS_ANDROID) |
950 // Disable user gesture requirement for the media element to enter fullscreen. | 954 // Disable user gesture requirement for the media element to enter fullscreen. |
951 const char kDisableGestureRequirementForMediaFullscreen[] = | 955 const char kDisableGestureRequirementForMediaFullscreen[] = |
952 "disable-gesture-requirement-for-media-fullscreen"; | 956 "disable-gesture-requirement-for-media-fullscreen"; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
996 #endif | 1000 #endif |
997 | 1001 |
998 #if defined(OS_POSIX) | 1002 #if defined(OS_POSIX) |
999 // Causes the child processes to cleanly exit via calling exit(). | 1003 // Causes the child processes to cleanly exit via calling exit(). |
1000 const char kChildCleanExit[] = "child-clean-exit"; | 1004 const char kChildCleanExit[] = "child-clean-exit"; |
1001 #endif | 1005 #endif |
1002 | 1006 |
1003 // Don't dump stuff here, follow the same order as the header. | 1007 // Don't dump stuff here, follow the same order as the header. |
1004 | 1008 |
1005 } // namespace switches | 1009 } // namespace switches |
OLD | NEW |