| 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 194 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 205 // Specifies the request key for the continuous speech recognition webservice. | 205 // Specifies the request key for the continuous speech recognition webservice. |
| 206 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; | 206 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; |
| 207 | 207 |
| 208 // Enables web speech synthesis api. | 208 // Enables web speech synthesis api. |
| 209 const char kEnableSpeechSynthesis[] = "enable-speech-synthesis"; | 209 const char kEnableSpeechSynthesis[] = "enable-speech-synthesis"; |
| 210 | 210 |
| 211 #if defined(OS_ANDROID) | 211 #if defined(OS_ANDROID) |
| 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 disabled by default on Android. |
| 216 const char kDisableWebRTC[] = "disable-webrtc"; | 216 const char kEnableWebRTC[] = "enable-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 // Enables Web MIDI API. | 222 // Enables Web MIDI API. |
| 223 const char kEnableWebMIDI[] = "enable-web-midi"; | 223 const char kEnableWebMIDI[] = "enable-web-midi"; |
| 224 | 224 |
| 225 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 225 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
| 226 const char kDisableWebSecurity[] = "disable-web-security"; | 226 const char kDisableWebSecurity[] = "disable-web-security"; |
| (...skipping 571 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 798 // Enables or disables history navigation in response to horizontal overscroll. | 798 // Enables or disables history navigation in response to horizontal overscroll. |
| 799 // Set the value to '1' to enable the feature, and set to '0' to disable. | 799 // Set the value to '1' to enable the feature, and set to '0' to disable. |
| 800 // Defaults to enabled. | 800 // Defaults to enabled. |
| 801 const char kOverscrollHistoryNavigation[] = | 801 const char kOverscrollHistoryNavigation[] = |
| 802 "overscroll-history-navigation"; | 802 "overscroll-history-navigation"; |
| 803 | 803 |
| 804 // Enables 'image/webp' accept header for image requests. | 804 // Enables 'image/webp' accept header for image requests. |
| 805 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 805 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 806 | 806 |
| 807 } // namespace switches | 807 } // namespace switches |
| OLD | NEW |