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

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

Issue 13116024: Move webrtc behind flag(--enable-webrtc) for M27 branch (Closed) Base URL: svn://svn.chromium.org/chrome/branches/1453/src/
Patch Set: rebase Created 7 years, 8 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 190 matching lines...) Expand 10 before | Expand all | Expand 10 after
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 #if defined(OS_ANDROID) 207 #if defined(OS_ANDROID)
208 // Enable web audio API. 208 // Enable web audio API.
209 const char kEnableWebAudio[] = "enable-webaudio"; 209 const char kEnableWebAudio[] = "enable-webaudio";
210 210
211 // WebRTC is enabled by default on Android. 211 // WebRTC is disabled by default on Android.
212 const char kDisableWebRTC[] = "disable-webrtc"; 212 const char kEnableWebRTC[] = "enable-webrtc";
213 #else 213 #else
214 // Disable web audio API. 214 // Disable web audio API.
215 const char kDisableWebAudio[] = "disable-webaudio"; 215 const char kDisableWebAudio[] = "disable-webaudio";
216 #endif 216 #endif
217 217
218 // Don't enforce the same-origin policy. (Used by people testing their sites.) 218 // Don't enforce the same-origin policy. (Used by people testing their sites.)
219 const char kDisableWebSecurity[] = "disable-web-security"; 219 const char kDisableWebSecurity[] = "disable-web-security";
220 220
221 // Disable Web Sockets support. 221 // Disable Web Sockets support.
222 const char kDisableWebSockets[] = "disable-web-sockets"; 222 const char kDisableWebSockets[] = "disable-web-sockets";
(...skipping 539 matching lines...) Expand 10 before | Expand all | Expand 10 after
762 = "disable-fixed-position-creates-stacking-context"; 762 = "disable-fixed-position-creates-stacking-context";
763 763
764 // Defer image decoding in WebKit until painting. 764 // Defer image decoding in WebKit until painting.
765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; 765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding";
766 766
767 // Disables history navigation in response to horizontal overscroll. 767 // Disables history navigation in response to horizontal overscroll.
768 const char kDisableOverscrollHistoryNavigation[] = 768 const char kDisableOverscrollHistoryNavigation[] =
769 "disable-overscroll-history-navigation"; 769 "disable-overscroll-history-navigation";
770 770
771 } // namespace switches 771 } // 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