| 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 213 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 224 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; | 224 const char kDisableDeviceEnumeration[] = "disable-device-enumeration"; |
| 225 | 225 |
| 226 #endif | 226 #endif |
| 227 | 227 |
| 228 // Enable WebRTC to open TCP server sockets. | 228 // Enable WebRTC to open TCP server sockets. |
| 229 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 229 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
| 230 | 230 |
| 231 // Enables HW decode acceleration for WebRTC. | 231 // Enables HW decode acceleration for WebRTC. |
| 232 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; | 232 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; |
| 233 | 233 |
| 234 // Enables HW encode acceleration for WebRTC. |
| 235 const char kEnableWebRtcHWEncoding[] = "enable-webrtc-hw-encoding"; |
| 236 |
| 234 // Enable CSS Transitions / Animations on the Web Animations model. | 237 // Enable CSS Transitions / Animations on the Web Animations model. |
| 235 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; | 238 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; |
| 236 | 239 |
| 237 // Enable SVG Animations on the Web Animations model. | 240 // Enable SVG Animations on the Web Animations model. |
| 238 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; | 241 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; |
| 239 | 242 |
| 240 // Enables Web MIDI API. | 243 // Enables Web MIDI API. |
| 241 const char kEnableWebMIDI[] = "enable-web-midi"; | 244 const char kEnableWebMIDI[] = "enable-web-midi"; |
| 242 | 245 |
| 243 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 246 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| (...skipping 657 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 901 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 904 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 902 | 905 |
| 903 // Enables/disables accelerated compositing for backgrounds of root layers with | 906 // Enables/disables accelerated compositing for backgrounds of root layers with |
| 904 // background-attachment: fixed. Requires kForceCompositingMode. | 907 // background-attachment: fixed. Requires kForceCompositingMode. |
| 905 const char kDisableAcceleratedFixedRootBackground[] = | 908 const char kDisableAcceleratedFixedRootBackground[] = |
| 906 "disable-accelerated-fixed-root-background"; | 909 "disable-accelerated-fixed-root-background"; |
| 907 const char kEnableAcceleratedFixedRootBackground[] = | 910 const char kEnableAcceleratedFixedRootBackground[] = |
| 908 "enable-accelerated-fixed-root-background"; | 911 "enable-accelerated-fixed-root-background"; |
| 909 | 912 |
| 910 } // namespace switches | 913 } // namespace switches |
| OLD | NEW |