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 // Enables HW decode acceleration for WebRTC. |
| 236 const char kEnableWebRtcHWDecoding[] = "enable-webrtc-hw-decoding"; |
| 237 |
235 // Enables Web MIDI API. | 238 // Enables Web MIDI API. |
236 const char kEnableWebMIDI[] = "enable-web-midi"; | 239 const char kEnableWebMIDI[] = "enable-web-midi"; |
237 | 240 |
238 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 241 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
239 const char kDisableWebSecurity[] = "disable-web-security"; | 242 const char kDisableWebSecurity[] = "disable-web-security"; |
240 | 243 |
241 // Enable an experimental WebSocket implementation. | 244 // Enable an experimental WebSocket implementation. |
242 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; | 245 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; |
243 | 246 |
244 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 247 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
(...skipping 619 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
864 const char kOverscrollHistoryNavigation[] = | 867 const char kOverscrollHistoryNavigation[] = |
865 "overscroll-history-navigation"; | 868 "overscroll-history-navigation"; |
866 | 869 |
867 // Forward overscroll event data from the renderer to the browser. | 870 // Forward overscroll event data from the renderer to the browser. |
868 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 871 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
869 | 872 |
870 // Enables WebGL extensions not yet approved by the community. | 873 // Enables WebGL extensions not yet approved by the community. |
871 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 874 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
872 | 875 |
873 } // namespace switches | 876 } // namespace switches |
OLD | NEW |