| 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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 478 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 481 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
| 479 | 482 |
| 480 // Enable use of experimental TCP sockets API for sending data in the | 483 // Enable use of experimental TCP sockets API for sending data in the |
| 481 // SYN packet. | 484 // SYN packet. |
| 482 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 485 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 483 | 486 |
| 484 // Disables hardware acceleration of video decode, where available. | 487 // Disables hardware acceleration of video decode, where available. |
| 485 const char kDisableAcceleratedVideoDecode[] = | 488 const char kDisableAcceleratedVideoDecode[] = |
| 486 "disable-accelerated-video-decode"; | 489 "disable-accelerated-video-decode"; |
| 487 | 490 |
| 491 // Disables hardware acceleration of video encode, where available. |
| 492 const char kDisableAcceleratedVideoEncode[] = |
| 493 "disable-accelerated-video-encode"; |
| 494 |
| 488 // Enables the use of the viewport meta tag, which allows | 495 // Enables the use of the viewport meta tag, which allows |
| 489 // pages to control aspects of their own layout. This also turns on touch-screen | 496 // pages to control aspects of their own layout. This also turns on touch-screen |
| 490 // pinch gestures. | 497 // pinch gestures. |
| 491 const char kEnableViewport[] = "enable-viewport"; | 498 const char kEnableViewport[] = "enable-viewport"; |
| 492 | 499 |
| 493 // Enables experimental features for the geolocation API. | 500 // Enables experimental features for the geolocation API. |
| 494 // Current features: | 501 // Current features: |
| 495 // - CoreLocation support for Mac OS X 10.6 | 502 // - CoreLocation support for Mac OS X 10.6 |
| 496 // - Gateway location for Linux and Windows | 503 // - Gateway location for Linux and Windows |
| 497 // - Location platform support for Windows 7 | 504 // - Location platform support for Windows 7 |
| (...skipping 407 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 905 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 912 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 906 | 913 |
| 907 // Enables/disables accelerated compositing for backgrounds of root layers with | 914 // Enables/disables accelerated compositing for backgrounds of root layers with |
| 908 // background-attachment: fixed. Requires kForceCompositingMode. | 915 // background-attachment: fixed. Requires kForceCompositingMode. |
| 909 const char kDisableAcceleratedFixedRootBackground[] = | 916 const char kDisableAcceleratedFixedRootBackground[] = |
| 910 "disable-accelerated-fixed-root-background"; | 917 "disable-accelerated-fixed-root-background"; |
| 911 const char kEnableAcceleratedFixedRootBackground[] = | 918 const char kEnableAcceleratedFixedRootBackground[] = |
| 912 "enable-accelerated-fixed-root-background"; | 919 "enable-accelerated-fixed-root-background"; |
| 913 | 920 |
| 914 } // namespace switches | 921 } // namespace switches |
| OLD | NEW |