| 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 186 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 197 | 197 |
| 198 // Disables site-specific tailoring to compatibility issues in WebKit. | 198 // Disables site-specific tailoring to compatibility issues in WebKit. |
| 199 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 199 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
| 200 | 200 |
| 201 // Disables speech input. | 201 // Disables speech input. |
| 202 const char kDisableSpeechInput[] = "disable-speech-input"; | 202 const char kDisableSpeechInput[] = "disable-speech-input"; |
| 203 | 203 |
| 204 // Specifies the request key for the continuous speech recognition webservice. | 204 // Specifies the request key for the continuous speech recognition webservice. |
| 205 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; | 205 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; |
| 206 | 206 |
| 207 // Enables web speech synthesis api. |
| 208 const char kEnableSpeechSynthesis[] = "enable-speech-synthesis"; |
| 209 |
| 207 #if defined(OS_ANDROID) | 210 #if defined(OS_ANDROID) |
| 208 // Enable web audio API. | 211 // Enable web audio API. |
| 209 const char kEnableWebAudio[] = "enable-webaudio"; | 212 const char kEnableWebAudio[] = "enable-webaudio"; |
| 210 | 213 |
| 211 // WebRTC is enabled by default on Android. | 214 // WebRTC is enabled by default on Android. |
| 212 const char kDisableWebRTC[] = "disable-webrtc"; | 215 const char kDisableWebRTC[] = "disable-webrtc"; |
| 213 #else | 216 #else |
| 214 // Disable web audio API. | 217 // Disable web audio API. |
| 215 const char kDisableWebAudio[] = "disable-webaudio"; | 218 const char kDisableWebAudio[] = "disable-webaudio"; |
| 216 #endif | 219 #endif |
| (...skipping 565 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 782 // Enables or disables history navigation in response to horizontal overscroll. | 785 // Enables or disables history navigation in response to horizontal overscroll. |
| 783 // Set the value to '1' to enable the feature, and set to '0' to disable. | 786 // Set the value to '1' to enable the feature, and set to '0' to disable. |
| 784 // Defaults to enabled. | 787 // Defaults to enabled. |
| 785 const char kOverscrollHistoryNavigation[] = | 788 const char kOverscrollHistoryNavigation[] = |
| 786 "overscroll-history-navigation"; | 789 "overscroll-history-navigation"; |
| 787 | 790 |
| 788 // Enables 'image/webp' accept header for image requests. | 791 // Enables 'image/webp' accept header for image requests. |
| 789 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 792 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 790 | 793 |
| 791 } // namespace switches | 794 } // namespace switches |
| OLD | NEW |