| 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 923 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 934 // Causes the process to run as a worker subprocess. | 934 // Causes the process to run as a worker subprocess. |
| 935 const char kWorkerProcess[] = "worker"; | 935 const char kWorkerProcess[] = "worker"; |
| 936 | 936 |
| 937 // The prefix used when starting the zygote process. (i.e. 'gdb --args') | 937 // The prefix used when starting the zygote process. (i.e. 'gdb --args') |
| 938 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; | 938 const char kZygoteCmdPrefix[] = "zygote-cmd-prefix"; |
| 939 | 939 |
| 940 // Causes the process to run as a renderer zygote. | 940 // Causes the process to run as a renderer zygote. |
| 941 const char kZygoteProcess[] = "zygote"; | 941 const char kZygoteProcess[] = "zygote"; |
| 942 | 942 |
| 943 #if defined(ENABLE_WEBRTC) | 943 #if defined(ENABLE_WEBRTC) |
| 944 // Disable WebRTC device enumeration. | 944 // Enables audio processing in a MediaStreamTrack. When this flag is on, AEC, |
| 945 // NS and AGC will be done per MediaStreamTrack instead of in PeerConnection. |
| 946 const char kEnableAudioTrackProcessing[] = "enable-audio-track-processing"; |
| 947 |
| 948 // Disables WebRTC device enumeration. |
| 945 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; | 949 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; |
| 946 | 950 |
| 947 // Disable WebRTC DataChannels SCTP wire protocol support. | 951 // Disables WebRTC DataChannels SCTP wire protocol support. |
| 948 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; | 952 const char kDisableSCTPDataChannels[] = "disable-sctp-data-channels"; |
| 949 | 953 |
| 950 // Disables HW decode acceleration for WebRTC. | 954 // Disables HW decode acceleration for WebRTC. |
| 951 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; | 955 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; |
| 952 | 956 |
| 953 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 957 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
| 954 // ignores this switch on its stable and beta channels. | 958 // ignores this switch on its stable and beta channels. |
| 955 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 959 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
| 956 | 960 |
| 957 // Disables HW encode acceleration for WebRTC. | 961 // Disables HW encode acceleration for WebRTC. |
| 958 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 962 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
| 959 | 963 |
| 960 // Enables WebRTC AEC recordings. | 964 // Enables WebRTC AEC recordings. |
| 961 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 965 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
| 962 | 966 |
| 963 // Enable WebRTC to open TCP server sockets. | 967 // Enables WebRTC to open TCP server sockets. |
| 964 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 968 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
| 965 | 969 |
| 966 // Enables VP8 HW encode acceleration for WebRTC. | 970 // Enables VP8 HW encode acceleration for WebRTC. |
| 967 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; | 971 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; |
| 968 #endif | 972 #endif |
| 969 | 973 |
| 970 #if defined(OS_ANDROID) | 974 #if defined(OS_ANDROID) |
| 971 // Disable user gesture requirement for the media element to enter fullscreen. | 975 // Disable user gesture requirement for the media element to enter fullscreen. |
| 972 const char kDisableGestureRequirementForMediaFullscreen[] = | 976 const char kDisableGestureRequirementForMediaFullscreen[] = |
| 973 "disable-gesture-requirement-for-media-fullscreen"; | 977 "disable-gesture-requirement-for-media-fullscreen"; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1017 #endif | 1021 #endif |
| 1018 | 1022 |
| 1019 #if defined(OS_POSIX) | 1023 #if defined(OS_POSIX) |
| 1020 // Causes the child processes to cleanly exit via calling exit(). | 1024 // Causes the child processes to cleanly exit via calling exit(). |
| 1021 const char kChildCleanExit[] = "child-clean-exit"; | 1025 const char kChildCleanExit[] = "child-clean-exit"; |
| 1022 #endif | 1026 #endif |
| 1023 | 1027 |
| 1024 // Don't dump stuff here, follow the same order as the header. | 1028 // Don't dump stuff here, follow the same order as the header. |
| 1025 | 1029 |
| 1026 } // namespace switches | 1030 } // namespace switches |
| OLD | NEW |