| 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 kEnableDeviceEnumeration[] = "enable-device-enumeration"; | 224 const char kEnableDeviceEnumeration[] = "enable-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 653 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 897 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 900 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 898 | 901 |
| 899 // Enables/disables accelerated compositing for backgrounds of root layers with | 902 // Enables/disables accelerated compositing for backgrounds of root layers with |
| 900 // background-attachment: fixed. Requires kForceCompositingMode. | 903 // background-attachment: fixed. Requires kForceCompositingMode. |
| 901 const char kDisableAcceleratedFixedRootBackground[] = | 904 const char kDisableAcceleratedFixedRootBackground[] = |
| 902 "disable-accelerated-fixed-root-background"; | 905 "disable-accelerated-fixed-root-background"; |
| 903 const char kEnableAcceleratedFixedRootBackground[] = | 906 const char kEnableAcceleratedFixedRootBackground[] = |
| 904 "enable-accelerated-fixed-root-background"; | 907 "enable-accelerated-fixed-root-background"; |
| 905 | 908 |
| 906 } // namespace switches | 909 } // namespace switches |
| OLD | NEW |