| 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 204 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 215 // WebRTC is enabled by default on Android. | 215 // WebRTC is enabled by default on Android. |
| 216 const char kDisableWebRTC[] = "disable-webrtc"; | 216 const char kDisableWebRTC[] = "disable-webrtc"; |
| 217 #else | 217 #else |
| 218 // Disable web audio API. | 218 // Disable web audio API. |
| 219 const char kDisableWebAudio[] = "disable-webaudio"; | 219 const char kDisableWebAudio[] = "disable-webaudio"; |
| 220 #endif | 220 #endif |
| 221 | 221 |
| 222 #if defined(ENABLE_WEBRTC) | 222 #if defined(ENABLE_WEBRTC) |
| 223 // Enables WebRTC AEC recordings. | 223 // Enables WebRTC AEC recordings. |
| 224 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; | 224 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
| 225 |
| 226 // Enable WebRTC DataChannels SCTP wire protocol support. |
| 227 const char kEnableSCTPDataChannels[] = "enable-sctp-data-channels"; |
| 225 #endif | 228 #endif |
| 226 | 229 |
| 227 // Enables Web MIDI API. | 230 // Enables Web MIDI API. |
| 228 const char kEnableWebMIDI[] = "enable-web-midi"; | 231 const char kEnableWebMIDI[] = "enable-web-midi"; |
| 229 | 232 |
| 230 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 233 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 231 const char kDisableWebSecurity[] = "disable-web-security"; | 234 const char kDisableWebSecurity[] = "disable-web-security"; |
| 232 | 235 |
| 233 // Enable an experimental WebSocket implementation. | 236 // Enable an experimental WebSocket implementation. |
| 234 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; | 237 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; |
| (...skipping 598 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 833 const char kOverscrollHistoryNavigation[] = | 836 const char kOverscrollHistoryNavigation[] = |
| 834 "overscroll-history-navigation"; | 837 "overscroll-history-navigation"; |
| 835 | 838 |
| 836 // Forward overscroll event data from the renderer to the browser. | 839 // Forward overscroll event data from the renderer to the browser. |
| 837 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 840 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 838 | 841 |
| 839 // Enables 'image/webp' accept header for image requests. | 842 // Enables 'image/webp' accept header for image requests. |
| 840 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 843 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 841 | 844 |
| 842 } // namespace switches | 845 } // namespace switches |
| OLD | NEW |