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 862 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
873 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; | 873 const char kDisableWebRtcEncryption[] = "disable-webrtc-encryption"; |
874 | 874 |
875 // Disables HW encode acceleration for WebRTC. | 875 // Disables HW encode acceleration for WebRTC. |
876 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; | 876 const char kDisableWebRtcHWEncoding[] = "disable-webrtc-hw-encoding"; |
877 | 877 |
878 // Enables VP8 HW encode acceleration for WebRTC. | 878 // Enables VP8 HW encode acceleration for WebRTC. |
879 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; | 879 const char kEnableWebRtcHWVp8Encoding[] = "enable-webrtc-hw-vp8-encoding"; |
880 #endif | 880 #endif |
881 | 881 |
882 #if defined(OS_ANDROID) | 882 #if defined(OS_ANDROID) |
883 // Disable user gesture requirement for media playback. | |
884 const char kDisableGestureRequirementForMediaPlayback[] = | |
885 "disable-gesture-requirement-for-media-playback"; | |
886 | |
887 // Disable the click delay by sending click events during double tap. | 883 // Disable the click delay by sending click events during double tap. |
888 const char kDisableClickDelay[] = "disable-click-delay"; | 884 const char kDisableClickDelay[] = "disable-click-delay"; |
889 | 885 |
890 // Disable overscroll edge effects like those found in Android views. | 886 // Disable overscroll edge effects like those found in Android views. |
891 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; | 887 const char kDisableOverscrollEdgeEffect[] = "disable-overscroll-edge-effect"; |
892 | 888 |
893 // WebRTC is enabled by default on Android. | 889 // WebRTC is enabled by default on Android. |
894 const char kDisableWebRTC[] = "disable-webrtc"; | 890 const char kDisableWebRTC[] = "disable-webrtc"; |
895 | 891 |
896 // Enable the recognition part of the Web Speech API. | 892 // Enable the recognition part of the Web Speech API. |
(...skipping 49 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
946 // Enable the Win32K process mitigation policy for renderer processes which | 942 // Enable the Win32K process mitigation policy for renderer processes which |
947 // prevents them from invoking user32 and gdi32 system calls which enter | 943 // prevents them from invoking user32 and gdi32 system calls which enter |
948 // the kernel. This is only supported on Windows 8 and beyond. | 944 // the kernel. This is only supported on Windows 8 and beyond. |
949 const char kEnableWin32kRendererLockDown[] | 945 const char kEnableWin32kRendererLockDown[] |
950 = "enable_win32k_renderer_lockdown"; | 946 = "enable_win32k_renderer_lockdown"; |
951 #endif | 947 #endif |
952 | 948 |
953 // Don't dump stuff here, follow the same order as the header. | 949 // Don't dump stuff here, follow the same order as the header. |
954 | 950 |
955 } // namespace switches | 951 } // namespace switches |
OLD | NEW |