Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(278)

Side by Side Diff: content/public/common/content_switches.cc

Issue 14865012: Merge 191377 "Move webrtc behind flag(--enable-webrtc) for b..." (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1500/src/
Patch Set: add missing file Created 7 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | content/renderer/render_thread_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698