| 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 201 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 212 // Enable web audio API. | 212 // Enable web audio API. |
| 213 const char kEnableWebAudio[] = "enable-webaudio"; | 213 const char kEnableWebAudio[] = "enable-webaudio"; |
| 214 | 214 |
| 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) |
| 223 // Enables WebRTC AEC recordings. |
| 224 const char kEnableWebRtcAecRecordings[] = "enable-webrtc-aec-recordings"; |
| 225 #endif |
| 226 |
| 222 // Enables Web MIDI API. | 227 // Enables Web MIDI API. |
| 223 const char kEnableWebMIDI[] = "enable-web-midi"; | 228 const char kEnableWebMIDI[] = "enable-web-midi"; |
| 224 | 229 |
| 225 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 230 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 226 const char kDisableWebSecurity[] = "disable-web-security"; | 231 const char kDisableWebSecurity[] = "disable-web-security"; |
| 227 | 232 |
| 228 // Enable an experimental WebSocket implementation. | 233 // Enable an experimental WebSocket implementation. |
| 229 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; | 234 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; |
| 230 | 235 |
| 231 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 236 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
| (...skipping 569 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 801 const char kOverscrollHistoryNavigation[] = | 806 const char kOverscrollHistoryNavigation[] = |
| 802 "overscroll-history-navigation"; | 807 "overscroll-history-navigation"; |
| 803 | 808 |
| 804 // Forward overscroll event data from the renderer to the browser. | 809 // Forward overscroll event data from the renderer to the browser. |
| 805 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 810 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 806 | 811 |
| 807 // Enables 'image/webp' accept header for image requests. | 812 // Enables 'image/webp' accept header for image requests. |
| 808 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 813 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 809 | 814 |
| 810 } // namespace switches | 815 } // namespace switches |
| OLD | NEW |