| 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 197 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 208 // Enable web audio API. | 208 // Enable web audio API. |
| 209 const char kEnableWebAudio[] = "enable-webaudio"; | 209 const char kEnableWebAudio[] = "enable-webaudio"; |
| 210 | 210 |
| 211 // WebRTC is enabled by default on Android. | 211 // WebRTC is enabled by default on Android. |
| 212 const char kDisableWebRTC[] = "disable-webrtc"; | 212 const char kDisableWebRTC[] = "disable-webrtc"; |
| 213 #else | 213 #else |
| 214 // Disable web audio API. | 214 // Disable web audio API. |
| 215 const char kDisableWebAudio[] = "disable-webaudio"; | 215 const char kDisableWebAudio[] = "disable-webaudio"; |
| 216 #endif | 216 #endif |
| 217 | 217 |
| 218 // Enables Web MIDI API. |
| 219 const char kEnableWebMIDI[] = "enable-web-midi"; |
| 220 |
| 218 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 221 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 219 const char kDisableWebSecurity[] = "disable-web-security"; | 222 const char kDisableWebSecurity[] = "disable-web-security"; |
| 220 | 223 |
| 221 // Enable an experimental WebSocket implementation. | 224 // Enable an experimental WebSocket implementation. |
| 222 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; | 225 const char kEnableExperimentalWebSocket[] = "enable-experimental-websocket"; |
| 223 | 226 |
| 224 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 227 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
| 225 const char kDisableXSSAuditor[] = "disable-xss-auditor"; | 228 const char kDisableXSSAuditor[] = "disable-xss-auditor"; |
| 226 | 229 |
| 227 // Specifies if the |DOMAutomationController| needs to be bound in the | 230 // Specifies if the |DOMAutomationController| needs to be bound in the |
| (...skipping 552 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 780 const char kEnableVsyncNotification[] = "enable-vsync-notification"; | 783 const char kEnableVsyncNotification[] = "enable-vsync-notification"; |
| 781 | 784 |
| 782 // Enables history navigation in response to horizontal overscroll. | 785 // Enables history navigation in response to horizontal overscroll. |
| 783 const char kEnableOverscrollHistoryNavigation[] = | 786 const char kEnableOverscrollHistoryNavigation[] = |
| 784 "enable-overscroll-history-navigation"; | 787 "enable-overscroll-history-navigation"; |
| 785 | 788 |
| 786 // Enables 'image/webp' accept header for image requests. | 789 // Enables 'image/webp' accept header for image requests. |
| 787 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 790 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 788 | 791 |
| 789 } // namespace switches | 792 } // namespace switches |
| OLD | NEW |