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 200 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
211 | 211 |
212 // Disables speech input. | 212 // Disables speech input. |
213 const char kDisableSpeechInput[] = "disable-speech-input"; | 213 const char kDisableSpeechInput[] = "disable-speech-input"; |
214 | 214 |
215 // Specifies the request key for the continuous speech recognition webservice. | 215 // Specifies the request key for the continuous speech recognition webservice. |
216 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; | 216 const char kSpeechRecognitionWebserviceKey[] = "speech-service-key"; |
217 | 217 |
218 #if defined(OS_ANDROID) | 218 #if defined(OS_ANDROID) |
219 // Enable web audio API. | 219 // Enable web audio API. |
220 const char kEnableWebAudio[] = "enable-webaudio"; | 220 const char kEnableWebAudio[] = "enable-webaudio"; |
| 221 |
| 222 // WebRTC is disabled by default on Android. |
| 223 const char kEnableWebRTC[] = "enable-webrtc"; |
221 #else | 224 #else |
222 // Disable web audio API. | 225 // Disable web audio API. |
223 const char kDisableWebAudio[] = "disable-webaudio"; | 226 const char kDisableWebAudio[] = "disable-webaudio"; |
224 #endif | 227 #endif |
225 | 228 |
226 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 229 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
227 const char kDisableWebSecurity[] = "disable-web-security"; | 230 const char kDisableWebSecurity[] = "disable-web-security"; |
228 | 231 |
229 // Disable Web Sockets support. | 232 // Disable Web Sockets support. |
230 const char kDisableWebSockets[] = "disable-web-sockets"; | 233 const char kDisableWebSockets[] = "disable-web-sockets"; |
(...skipping 528 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
759 = "disable-fixed-position-creates-stacking-context"; | 762 = "disable-fixed-position-creates-stacking-context"; |
760 | 763 |
761 // Defer image decoding in WebKit until painting. | 764 // Defer image decoding in WebKit until painting. |
762 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
763 | 766 |
764 // Disables history navigation in response to horizontal overscroll. | 767 // Disables history navigation in response to horizontal overscroll. |
765 const char kDisableOverscrollHistoryNavigation[] = | 768 const char kDisableOverscrollHistoryNavigation[] = |
766 "disable-overscroll-history-navigation"; | 769 "disable-overscroll-history-navigation"; |
767 | 770 |
768 } // namespace switches | 771 } // namespace switches |
OLD | NEW |