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 // By default, file:// URIs cannot read other file:// URIs. This is an | 9 // By default, file:// URIs cannot read other file:// URIs. This is an |
10 // override for developers who need the old behavior for testing. | 10 // override for developers who need the old behavior for testing. |
(...skipping 218 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
229 const char kEnableDeviceEnumeration[] = "enable-device-enumeration"; | 229 const char kEnableDeviceEnumeration[] = "enable-device-enumeration"; |
230 | 230 |
231 #endif | 231 #endif |
232 | 232 |
233 // Enable WebRTC to open TCP server sockets. | 233 // Enable WebRTC to open TCP server sockets. |
234 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 234 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
235 | 235 |
236 // Enables HW decode acceleration for WebRTC. | 236 // Enables HW decode acceleration for WebRTC. |
237 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; | 237 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; |
238 | 238 |
| 239 // Enables HW encode acceleration for WebRTC. |
| 240 const char kEnableWebRtcHWEncoding[] = "enable-webrtc-hw-encoding"; |
| 241 |
239 // Enable CSS Transitions / Animations on the Web Animations model. | 242 // Enable CSS Transitions / Animations on the Web Animations model. |
240 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; | 243 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; |
241 | 244 |
242 // Enable SVG Animations on the Web Animations model. | 245 // Enable SVG Animations on the Web Animations model. |
243 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; | 246 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; |
244 | 247 |
245 // Enables Web MIDI API. | 248 // Enables Web MIDI API. |
246 const char kEnableWebMIDI[] = "enable-web-midi"; | 249 const char kEnableWebMIDI[] = "enable-web-midi"; |
247 | 250 |
248 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 251 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
(...skipping 656 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
905 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 908 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
906 | 909 |
907 // Enables/disables accelerated compositing for backgrounds of root layers with | 910 // Enables/disables accelerated compositing for backgrounds of root layers with |
908 // background-attachment: fixed. Requires kForceCompositingMode. | 911 // background-attachment: fixed. Requires kForceCompositingMode. |
909 const char kDisableAcceleratedFixedRootBackground[] = | 912 const char kDisableAcceleratedFixedRootBackground[] = |
910 "disable-accelerated-fixed-root-background"; | 913 "disable-accelerated-fixed-root-background"; |
911 const char kEnableAcceleratedFixedRootBackground[] = | 914 const char kEnableAcceleratedFixedRootBackground[] = |
912 "enable-accelerated-fixed-root-background"; | 915 "enable-accelerated-fixed-root-background"; |
913 | 916 |
914 } // namespace switches | 917 } // namespace switches |
OLD | NEW |