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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 918 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
929 // Disables HW decode acceleration for WebRTC. | 929 // Disables HW decode acceleration for WebRTC. |
930 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; | 930 const char kDisableWebRtcHWDecoding[] = "disable-webrtc-hw-decoding"; |
931 | 931 |
932 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 932 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
933 // ignores this switch on its stable and beta channels. | 933 // ignores this switch on its stable and beta channels. |
934 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 934 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
935 | 935 |
936 // Disables HW encode acceleration for WebRTC. | 936 // Disables HW encode acceleration for WebRTC. |
937 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 937 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
938 | 938 |
939 // Enables WebRTC to open TCP server sockets. | |
940 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | |
941 | |
942 // Enables VP8 HW encode acceleration for WebRTC. | 939 // Enables VP8 HW encode acceleration for WebRTC. |
943 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; | 940 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; |
944 #endif | 941 #endif |
945 | 942 |
946 #if defined(OS_ANDROID) | 943 #if defined(OS_ANDROID) |
947 // Disable user gesture requirement for the media element to enter fullscreen. | 944 // Disable user gesture requirement for the media element to enter fullscreen. |
948 const char kDisableGestureRequirementForMediaFullscreen[] = | 945 const char kDisableGestureRequirementForMediaFullscreen[] = |
949 "disable-gesture-requirement-for-media-fullscreen"; | 946 "disable-gesture-requirement-for-media-fullscreen"; |
950 | 947 |
951 // Disable user gesture requirement for media playback. | 948 // Disable user gesture requirement for media playback. |
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
988 | 985 |
989 // Disables support for Core Animation plugins. This is triggered when | 986 // Disables support for Core Animation plugins. This is triggered when |
990 // accelerated compositing is disabled. See http://crbug.com/122430 . | 987 // accelerated compositing is disabled. See http://crbug.com/122430 . |
991 const char kDisableCoreAnimationPlugins[] = | 988 const char kDisableCoreAnimationPlugins[] = |
992 "disable-core-animation-plugins"; | 989 "disable-core-animation-plugins"; |
993 #endif | 990 #endif |
994 | 991 |
995 // Don't dump stuff here, follow the same order as the header. | 992 // Don't dump stuff here, follow the same order as the header. |
996 | 993 |
997 } // namespace switches | 994 } // namespace switches |
OLD | NEW |