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 "build/build_config.h" | 5 #include "build/build_config.h" |
6 #include "content/public/common/content_switches.h" | 6 #include "content/public/common/content_switches.h" |
7 | 7 |
8 namespace switches { | 8 namespace switches { |
9 | 9 |
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
(...skipping 887 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
898 #if defined(ENABLE_WEBRTC) | 898 #if defined(ENABLE_WEBRTC) |
899 // Disables HW decode acceleration for WebRTC. | 899 // Disables HW decode acceleration for WebRTC. |
900 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; | 900 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; |
901 | 901 |
902 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 902 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
903 // ignores this switch on its stable and beta channels. | 903 // ignores this switch on its stable and beta channels. |
904 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 904 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
905 | 905 |
906 // Disables HW encode acceleration for WebRTC. | 906 // Disables HW encode acceleration for WebRTC. |
907 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 907 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
| 908 const char kDisableWebRtcHWEncodingVPx[] = "vpx"; |
| 909 const char kDisableWebRtcHWEncodingH264[] = "h264"; |
| 910 const char kDisableWebRtcHWEncodingNone[] = "none"; |
908 | 911 |
909 // Enables negotiation of DTLS 1.2 for WebRTC. | 912 // Enables negotiation of DTLS 1.2 for WebRTC. |
910 const char kEnableWebRtcDtls12[] = "enable-webrtc-dtls12"; | 913 const char kEnableWebRtcDtls12[] = "enable-webrtc-dtls12"; |
911 | 914 |
912 // Enables H264 HW encode acceleration for WebRTC. | 915 // Enables H264 HW encode acceleration for WebRTC. |
913 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; | 916 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; |
914 | 917 |
915 // Enables Origin header in Stun messages for WebRTC. | 918 // Enables Origin header in Stun messages for WebRTC. |
916 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; | 919 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; |
917 | 920 |
(...skipping 154 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
1072 // the given directory. Used primarily to gather samples for IPC fuzzing. | 1075 // the given directory. Used primarily to gather samples for IPC fuzzing. |
1073 const char kIpcDumpDirectory[] = "ipc-dump-directory"; | 1076 const char kIpcDumpDirectory[] = "ipc-dump-directory"; |
1074 | 1077 |
1075 // Specifies the testcase used by the IPC fuzzer. | 1078 // Specifies the testcase used by the IPC fuzzer. |
1076 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; | 1079 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; |
1077 #endif | 1080 #endif |
1078 | 1081 |
1079 // Don't dump stuff here, follow the same order as the header. | 1082 // Don't dump stuff here, follow the same order as the header. |
1080 | 1083 |
1081 } // namespace switches | 1084 } // namespace switches |
OLD | NEW |