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

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

Issue 10830268: Allow audio system to handle synchronized low-latency audio I/O (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 3 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
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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after
222 const char kDisableVideoTrack[] = "disable-video-track"; 222 const char kDisableVideoTrack[] = "disable-video-track";
223 223
224 #if defined(OS_ANDROID) 224 #if defined(OS_ANDROID)
225 // Enable web audio API. 225 // Enable web audio API.
226 const char kEnableWebAudio[] = "enable-webaudio"; 226 const char kEnableWebAudio[] = "enable-webaudio";
227 #else 227 #else
228 // Disable web audio API. 228 // Disable web audio API.
229 const char kDisableWebAudio[] = "disable-webaudio"; 229 const char kDisableWebAudio[] = "disable-webaudio";
230 #endif 230 #endif
231 231
232 // Enable live audio input with getUserMedia() and the Web Audio API.
233 const char kEnableWebAudioInput[] = "enable-webaudio-input";
tommi (sloooow) - chröme 2012/09/07 09:58:19 looks like = should be aligned in this file.
234
232 // Don't enforce the same-origin policy. (Used by people testing their sites.) 235 // Don't enforce the same-origin policy. (Used by people testing their sites.)
233 const char kDisableWebSecurity[] = "disable-web-security"; 236 const char kDisableWebSecurity[] = "disable-web-security";
234 237
235 // Disable Web Sockets support. 238 // Disable Web Sockets support.
236 const char kDisableWebSockets[] = "disable-web-sockets"; 239 const char kDisableWebSockets[] = "disable-web-sockets";
237 240
238 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS. 241 // Disables WebKit's XSSAuditor. The XSSAuditor mitigates reflective XSS.
239 const char kDisableXSSAuditor[] = "disable-xss-auditor"; 242 const char kDisableXSSAuditor[] = "disable-xss-auditor";
240 243
241 // Specifies if the |DOMAutomationController| needs to be bound in the 244 // Specifies if the |DOMAutomationController| needs to be bound in the
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after
715 // Sets the width and height above which a composited layer will get tiled. 718 // Sets the width and height above which a composited layer will get tiled.
716 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; 719 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width";
717 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; 720 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height";
718 721
719 const char kEnableFixedPositionCreatesStackingContext[] 722 const char kEnableFixedPositionCreatesStackingContext[]
720 = "enable-fixed-position-creates-stacking-context"; 723 = "enable-fixed-position-creates-stacking-context";
721 const char kDisableFixedPositionCreatesStackingContext[] 724 const char kDisableFixedPositionCreatesStackingContext[]
722 = "disable-fixed-position-creates-stacking-context"; 725 = "disable-fixed-position-creates-stacking-context";
723 726
724 } // namespace switches 727 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698