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 211 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
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 Loading... | |
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 |
OLD | NEW |