Chromium Code Reviews| 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, |
|
Jói
2013/11/08 13:36:40
Was the ? supposed to be a dash or a period perhap
no longer working on chromium
2013/11/08 15:39:30
Sorry, it should be a period. Fixed now.
| |
| 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 encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 933 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
| 930 // ignores this switch on its stable and beta channels. | 934 // ignores this switch on its stable and beta channels. |
| 931 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 935 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
| 932 | 936 |
| 933 // Disables HW encode acceleration for WebRTC. | 937 // Disables HW encode acceleration for WebRTC. |
| 934 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 938 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
| 935 | 939 |
| 936 // Enables WebRTC AEC recordings. | 940 // Enables WebRTC AEC recordings. |
| 937 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 941 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
| 938 | 942 |
| 939 // Enable WebRTC to open TCP server sockets. | 943 // Enables WebRTC to open TCP server sockets. |
| 940 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 944 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
| 941 | 945 |
| 942 // Enables VP8 HW encode acceleration for WebRTC. | 946 // Enables VP8 HW encode acceleration for WebRTC. |
| 943 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; | 947 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; |
| 944 #endif | 948 #endif |
| 945 | 949 |
| 946 #if defined(OS_ANDROID) | 950 #if defined(OS_ANDROID) |
| 947 // Disable user gesture requirement for the media element to enter fullscreen. | 951 // Disable user gesture requirement for the media element to enter fullscreen. |
| 948 const char kDisableGestureRequirementForMediaFullscreen[] = | 952 const char kDisableGestureRequirementForMediaFullscreen[] = |
| 949 "disable-gesture-requirement-for-media-fullscreen"; | 953 "disable-gesture-requirement-for-media-fullscreen"; |
| (...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 993 #endif | 997 #endif |
| 994 | 998 |
| 995 #if defined(OS_POSIX) | 999 #if defined(OS_POSIX) |
| 996 // Causes the child processes to cleanly exit via calling exit(). | 1000 // Causes the child processes to cleanly exit via calling exit(). |
| 997 const char kChildCleanExit[] = "child-clean-exit"; | 1001 const char kChildCleanExit[] = "child-clean-exit"; |
| 998 #endif | 1002 #endif |
| 999 | 1003 |
| 1000 // Don't dump stuff here, follow the same order as the header. | 1004 // Don't dump stuff here, follow the same order as the header. |
| 1001 | 1005 |
| 1002 } // namespace switches | 1006 } // namespace switches |
| OLD | NEW |