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