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 187 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
198 | 198 |
199 // Disables site-specific tailoring to compatibility issues in WebKit. | 199 // Disables site-specific tailoring to compatibility issues in WebKit. |
200 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 200 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
201 | 201 |
202 // Disables speech input. | 202 // Disables speech input. |
203 const char kDisableSpeechInput[] = "disable-speech-input"; | 203 const char kDisableSpeechInput[] = "disable-speech-input"; |
204 | 204 |
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. |
| 209 const char kEnableSpeechSynthesis[] = "enable-speech-synthesis"; |
| 210 |
208 #if defined(OS_ANDROID) | 211 #if defined(OS_ANDROID) |
209 // Enable web audio API. | 212 // Enable web audio API. |
210 const char kEnableWebAudio[] = "enable-webaudio"; | 213 const char kEnableWebAudio[] = "enable-webaudio"; |
211 | 214 |
212 // WebRTC is enabled by default on Android. | 215 // WebRTC is enabled by default on Android. |
213 const char kDisableWebRTC[] = "disable-webrtc"; | 216 const char kDisableWebRTC[] = "disable-webrtc"; |
214 #else | 217 #else |
215 // Disable web audio API. | 218 // Disable web audio API. |
216 const char kDisableWebAudio[] = "disable-webaudio"; | 219 const char kDisableWebAudio[] = "disable-webaudio"; |
217 #endif | 220 #endif |
(...skipping 573 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
791 // Enables or disables history navigation in response to horizontal overscroll. | 794 // Enables or disables history navigation in response to horizontal overscroll. |
792 // Set the value to '1' to enable the feature, and set to '0' to disable. | 795 // Set the value to '1' to enable the feature, and set to '0' to disable. |
793 // Defaults to enabled. | 796 // Defaults to enabled. |
794 const char kOverscrollHistoryNavigation[] = | 797 const char kOverscrollHistoryNavigation[] = |
795 "overscroll-history-navigation"; | 798 "overscroll-history-navigation"; |
796 | 799 |
797 // Enables 'image/webp' accept header for image requests. | 800 // Enables 'image/webp' accept header for image requests. |
798 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 801 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
799 | 802 |
800 } // namespace switches | 803 } // namespace switches |
OLD | NEW |