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 840 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
851 | 851 |
852 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it | 852 // Disables encryption of RTP Media for WebRTC. When Chrome embeds Content, it |
853 // ignores this switch on its stable and beta channels. | 853 // ignores this switch on its stable and beta channels. |
854 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 854 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
855 | 855 |
856 // Disables HW encode acceleration for WebRTC. | 856 // Disables HW encode acceleration for WebRTC. |
857 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 857 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
858 | 858 |
859 // Enables VP8 HW encode acceleration for WebRTC. | 859 // Enables VP8 HW encode acceleration for WebRTC. |
860 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; | 860 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; |
| 861 |
| 862 // Enables H264 HW encode acceleration for WebRTC. |
| 863 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; |
861 #endif | 864 #endif |
862 | 865 |
863 #if defined(OS_ANDROID) | 866 #if defined(OS_ANDROID) |
864 // Disable user gesture requirement for media playback. | 867 // Disable user gesture requirement for media playback. |
865 const char kDisableGestureRequirementForMediaPlayback[] = | 868 const char kDisableGestureRequirementForMediaPlayback[] = |
866 "disable-gesture-requirement-for-media-playback"; | 869 "disable-gesture-requirement-for-media-playback"; |
867 | 870 |
868 // Disable the click delay by sending click events during double tap. | 871 // Disable the click delay by sending click events during double tap. |
869 const char kDisableClickDelay[] = "disable-click-delay"; | 872 const char kDisableClickDelay[] = "disable-click-delay"; |
870 | 873 |
(...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
927 // Enable the Win32K process mitigation policy for renderer processes which | 930 // Enable the Win32K process mitigation policy for renderer processes which |
928 // prevents them from invoking user32 and gdi32 system calls which enter | 931 // prevents them from invoking user32 and gdi32 system calls which enter |
929 // the kernel. This is only supported on Windows 8 and beyond. | 932 // the kernel. This is only supported on Windows 8 and beyond. |
930 const char kEnableWin32kRendererLockDown[] | 933 const char kEnableWin32kRendererLockDown[] |
931 = "enable_win32k_renderer_lockdown"; | 934 = "enable_win32k_renderer_lockdown"; |
932 #endif | 935 #endif |
933 | 936 |
934 // Don't dump stuff here, follow the same order as the header. | 937 // Don't dump stuff here, follow the same order as the header. |
935 | 938 |
936 } // namespace switches | 939 } // namespace switches |
OLD | NEW |