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 214 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
225 // Enables WebRTC AEC recordings. | 225 // Enables WebRTC AEC recordings. |
226 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 226 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
227 | 227 |
228 // Enable WebRTC DataChannels SCTP wire protocol support. | 228 // Enable WebRTC DataChannels SCTP wire protocol support. |
229 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; | 229 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; |
230 #endif | 230 #endif |
231 | 231 |
232 // Enable WebRTC to open TCP server sockets. | 232 // Enable WebRTC to open TCP server sockets. |
233 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; | 233 const char kEnableWebRtcTcpServerSocket[] = "enable-webrtc-tcp-server-socket"; |
234 | 234 |
| 235 // Enable CSS Transitions / Animations on the Web Animations model. |
| 236 const char kEnableWebAnimationsCSS[] = "enable-web-animations-css"; |
| 237 |
| 238 // Enable SVG Animations on the Web Animations model. |
| 239 const char kEnableWebAnimationsSVG[] = "enable-web-animations-svg"; |
| 240 |
235 // Enables Web MIDI API. | 241 // Enables Web MIDI API. |
236 const char kEnableWebMIDI[] = "enable-web-midi"; | 242 const char kEnableWebMIDI[] = "enable-web-midi"; |
237 | 243 |
238 // 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.) |
239 const char kDisableWebSecurity[] = "disable-web-security"; | 245 const char kDisableWebSecurity[] = "disable-web-security"; |
240 | 246 |
241 // Enable an experimental WebSocket implementation. | 247 // Enable an experimental WebSocket implementation. |
242 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; | 248 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; |
243 | 249 |
244 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 250 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
(...skipping 626 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
871 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 877 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
872 | 878 |
873 // Enables/disables accelerated compositing for backgrounds of root layers with | 879 // Enables/disables accelerated compositing for backgrounds of root layers with |
874 // background-attachment: fixed. Requires kForceCompositingMode. | 880 // background-attachment: fixed. Requires kForceCompositingMode. |
875 const char kDisableAcceleratedFixedRootBackground[] = | 881 const char kDisableAcceleratedFixedRootBackground[] = |
876 "disable-accelerated-fixed-root-background"; | 882 "disable-accelerated-fixed-root-background"; |
877 const char kEnableAcceleratedFixedRootBackground[] = | 883 const char kEnableAcceleratedFixedRootBackground[] = |
878 "enable-accelerated-fixed-root-background"; | 884 "enable-accelerated-fixed-root-background"; |
879 | 885 |
880 } // namespace switches | 886 } // namespace switches |
OLD | NEW |