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 914 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
925 // Causes the process to run as a worker subprocess. | 925 // Causes the process to run as a worker subprocess. |
926 const char kWorkerProcess[] = "worker"; | 926 const char kWorkerProcess[] = "worker"; |
927 | 927 |
928 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 928 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
929 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 929 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
930 | 930 |
931 // Causes the process to run as a renderer zygote. | 931 // Causes the process to run as a renderer zygote. |
932 const char kZygoteProcess[] = "zygote"; | 932 const char kZygoteProcess[] = "zygote"; |
933 | 933 |
934 #if defined(ENABLE_WEBRTC) | 934 #if defined(ENABLE_WEBRTC) |
935 // Disable WebRTC device enumeration. | 935 // Enables audio processing in a MediaStreamTrack. When this flag is on, AEC, |
936 // NS and AGC will be done per MediaStreamTrack instead of in PeerConnection. | |
937 const char kEnableAudioTrackProcessing[] = "enable-audio-track-processor"; | |
Henrik Grunell
2013/11/25 10:52:02
"processing", not "processor".
no longer working on chromium
2013/11/25 16:36:26
Done.
| |
938 | |
939 // Disables WebRTC device enumeration. | |
936 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; | 940 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; |
937 | 941 |
938 // Disable WebRTC DataChannels SCTP wire protocol support. | 942 // Disables WebRTC DataChannels SCTP wire protocol support. |
939 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; | 943 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; |
940 | 944 |
941 // Disables HW decode acceleration for WebRTC. | 945 // Disables HW decode acceleration for WebRTC. |
942 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; | 946 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; |
943 | 947 |
944 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 948 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
945 // ignores this switch on its stable and beta channels. | 949 // ignores this switch on its stable and beta channels. |
946 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 950 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
947 | 951 |
948 // Disables HW encode acceleration for WebRTC. | 952 // Disables HW encode acceleration for WebRTC. |
949 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 953 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
950 | 954 |
951 // Enables WebRTC AEC recordings. | 955 // Enables WebRTC AEC recordings. |
952 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 956 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
953 | 957 |
954 // Enable WebRTC to open TCP server sockets. | 958 // Enables WebRTC to open TCP server sockets. |
955 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 959 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
956 | 960 |
957 // Enables VP8 HW encode acceleration for WebRTC. | 961 // Enables VP8 HW encode acceleration for WebRTC. |
958 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; | 962 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; |
959 #endif | 963 #endif |
960 | 964 |
961 #if defined(OS_ANDROID) | 965 #if defined(OS_ANDROID) |
962 // Disable user gesture requirement for the media element to enter fullscreen. | 966 // Disable user gesture requirement for the media element to enter fullscreen. |
963 const char kDisableGestureRequirementForMediaFullscreen[] = | 967 const char kDisableGestureRequirementForMediaFullscreen[] = |
964 "disable-gesture-requirement-for-media-fullscreen"; | 968 "disable-gesture-requirement-for-media-fullscreen"; |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
1008 #endif | 1012 #endif |
1009 | 1013 |
1010 #if defined(OS_POSIX) | 1014 #if defined(OS_POSIX) |
1011 // Causes the child processes to cleanly exit via calling exit(). | 1015 // Causes the child processes to cleanly exit via calling exit(). |
1012 const char kChildCleanExit[] = "child-clean-exit"; | 1016 const char kChildCleanExit[] = "child-clean-exit"; |
1013 #endif | 1017 #endif |
1014 | 1018 |
1015 // Don't dump stuff here, follow the same order as the header. | 1019 // Don't dump stuff here, follow the same order as the header. |
1016 | 1020 |
1017 } // namespace switches | 1021 } // namespace switches |
OLD | NEW |