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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 871 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
882 | 882 |
883 // Enables H264 HW encode acceleration for WebRTC. | 883 // Enables H264 HW encode acceleration for WebRTC. |
884 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; | 884 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; |
885 | 885 |
886 // Enables Origin header in Stun messages for WebRTC. | 886 // Enables Origin header in Stun messages for WebRTC. |
887 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; | 887 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; |
888 | 888 |
889 // Override the maximum framerate as can be specified in calls to getUserMedia. | 889 // Override the maximum framerate as can be specified in calls to getUserMedia. |
890 // This flag expects a value. Example: --max-gum-fps=17.5 | 890 // This flag expects a value. Example: --max-gum-fps=17.5 |
891 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps"; | 891 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps"; |
892 | |
893 #if defined(OS_LINUX) || defined(OS_MACOSX) | |
894 // Enables Video Capture Device captured data uploaded to Texture for zero-copy | |
895 // capture pipeline. | |
896 const char kEnableWebRtcCaptureToTexture[] = "enable-webrtc-capture-to-texture"; | |
897 #endif | |
898 #endif | 892 #endif |
899 | 893 |
900 #if defined(OS_ANDROID) | 894 #if defined(OS_ANDROID) |
901 // Disable user gesture requirement for media playback. | 895 // Disable user gesture requirement for media playback. |
902 const char kDisableGestureRequirementForMediaPlayback[] = | 896 const char kDisableGestureRequirementForMediaPlayback[] = |
903 "disable-gesture-requirement-for-media-playback"; | 897 "disable-gesture-requirement-for-media-playback"; |
904 | 898 |
905 // Disable the click delay by sending click events during double tap. | 899 // Disable the click delay by sending click events during double tap. |
906 const char kDisableClickDelay[] = "disable-click-delay"; | 900 const char kDisableClickDelay[] = "disable-click-delay"; |
907 | 901 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
974 // clashes between different instances of Chrome. | 968 // clashes between different instances of Chrome. |
975 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; | 969 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; |
976 #endif | 970 #endif |
977 | 971 |
978 // Enables the use of NPAPI plugins. | 972 // Enables the use of NPAPI plugins. |
979 const char kEnableNpapi[] = "enable-npapi"; | 973 const char kEnableNpapi[] = "enable-npapi"; |
980 | 974 |
981 // Don't dump stuff here, follow the same order as the header. | 975 // Don't dump stuff here, follow the same order as the header. |
982 | 976 |
983 } // namespace switches | 977 } // namespace switches |
OLD | NEW |