| 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 889 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 900 | 900 |
| 901 // Enables H264 HW encode acceleration for WebRTC. | 901 // Enables H264 HW encode acceleration for WebRTC. |
| 902 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; | 902 const char kEnableWebRtcHWH264Encoding[] = "enable-webrtc-hw-h264-encoding"; |
| 903 | 903 |
| 904 // Enables Origin header in Stun messages for WebRTC. | 904 // Enables Origin header in Stun messages for WebRTC. |
| 905 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; | 905 const char kEnableWebRtcStunOrigin[] = "enable-webrtc-stun-origin"; |
| 906 | 906 |
| 907 // Override the maximum framerate as can be specified in calls to getUserMedia. | 907 // Override the maximum framerate as can be specified in calls to getUserMedia. |
| 908 // This flag expects a value. Example: --max-gum-fps=17.5 | 908 // This flag expects a value. Example: --max-gum-fps=17.5 |
| 909 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps"; | 909 const char kWebRtcMaxCaptureFramerate[] = "max-gum-fps"; |
| 910 |
| 911 #if defined(OS_LINUX) || defined(OS_MACOSX) |
| 912 // Enables Video Capture Device captured data uploaded to Texture for zero-copy |
| 913 // capture pipeline. |
| 914 const char kEnableWebRtcCaptureToTexture[] = "enable-webrtc-capture-to-texture"; |
| 915 #endif |
| 910 #endif | 916 #endif |
| 911 | 917 |
| 912 #if defined(OS_ANDROID) | 918 #if defined(OS_ANDROID) |
| 913 // Disable user gesture requirement for media playback. | 919 // Disable user gesture requirement for media playback. |
| 914 const char kDisableGestureRequirementForMediaPlayback[] = | 920 const char kDisableGestureRequirementForMediaPlayback[] = |
| 915 "disable-gesture-requirement-for-media-playback"; | 921 "disable-gesture-requirement-for-media-playback"; |
| 916 | 922 |
| 917 // Disable the click delay by sending click events during double tap. | 923 // Disable the click delay by sending click events during double tap. |
| 918 const char kDisableClickDelay[] = "disable-click-delay"; | 924 const char kDisableClickDelay[] = "disable-click-delay"; |
| 919 | 925 |
| (...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 986 // clashes between different instances of Chrome. | 992 // clashes between different instances of Chrome. |
| 987 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; | 993 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; |
| 988 #endif | 994 #endif |
| 989 | 995 |
| 990 // Enables the use of NPAPI plugins. | 996 // Enables the use of NPAPI plugins. |
| 991 const char kEnableNpapi[] = "enable-npapi"; | 997 const char kEnableNpapi[] = "enable-npapi"; |
| 992 | 998 |
| 993 // Don't dump stuff here, follow the same order as the header. | 999 // Don't dump stuff here, follow the same order as the header. |
| 994 | 1000 |
| 995 } // namespace switches | 1001 } // namespace switches |
| OLD | NEW |