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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 // Enables WebRTC AEC recordings. | 222 // Enables WebRTC AEC recordings. |
223 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 223 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
224 | 224 |
225 // Enable WebRTC DataChannels SCTP wire protocol support. | 225 // Enable WebRTC DataChannels SCTP wire protocol support. |
226 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; | 226 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; |
227 #endif | 227 #endif |
228 | 228 |
229 // Enable WebRTC to open TCP server sockets. | 229 // Enable WebRTC to open TCP server sockets. |
230 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 230 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
231 | 231 |
| 232 // Enables HW decode acceleration for WebRTC. |
| 233 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; |
| 234 |
232 // Enable CSS Transitions / Animations on the Web Animations model. | 235 // Enable CSS Transitions / Animations on the Web Animations model. |
233 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; | 236 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; |
234 | 237 |
235 // Enable SVG Animations on the Web Animations model. | 238 // Enable SVG Animations on the Web Animations model. |
236 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; | 239 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; |
237 | 240 |
238 // Enables Web MIDI API. | 241 // Enables Web MIDI API. |
239 const char kEnableWebMIDI[] = "enable-web-midi"; | 242 const char kEnableWebMIDI[] = "enable-web-midi"; |
240 | 243 |
241 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 244 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
(...skipping 635 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
877 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 880 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
878 | 881 |
879 // Enables/disables accelerated compositing for backgrounds of root layers with | 882 // Enables/disables accelerated compositing for backgrounds of root layers with |
880 // background-attachment: fixed. Requires kForceCompositingMode. | 883 // background-attachment: fixed. Requires kForceCompositingMode. |
881 const char kDisableAcceleratedFixedRootBackground[] = | 884 const char kDisableAcceleratedFixedRootBackground[] = |
882 "disable-accelerated-fixed-root-background"; | 885 "disable-accelerated-fixed-root-background"; |
883 const char kEnableAcceleratedFixedRootBackground[] = | 886 const char kEnableAcceleratedFixedRootBackground[] = |
884 "enable-accelerated-fixed-root-background"; | 887 "enable-accelerated-fixed-root-background"; |
885 | 888 |
886 } // namespace switches | 889 } // namespace switches |
OLD | NEW |