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 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
400 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). | 400 // Disables prefixed Encrypted Media API (e.g. webkitGenerateKeyRequest()). |
401 const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media"; | 401 const char kDisableLegacyEncryptedMedia[] = "disable-legacy-encrypted-media"; |
402 | 402 |
403 // Use fake device for MediaStream to replace actual camera and microphone. | 403 // Use fake device for MediaStream to replace actual camera and microphone. |
404 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 404 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
405 | 405 |
406 // Bypass the media stream infobar by selecting the default device for media | 406 // Bypass the media stream infobar by selecting the default device for media |
407 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. | 407 // streams (e.g. WebRTC). Works with --use-fake-device-for-media-stream. |
408 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; | 408 const char kUseFakeUIForMediaStream[] = "use-fake-ui-for-media-stream"; |
409 | 409 |
410 // Enables the new media-internals page. | |
scherkus (not reviewing)
2013/07/19 01:58:49
nit: chrome://media-internals
scherkus (not reviewing)
2013/07/19 01:58:49
can you link to a bug for the new media-internals
Ty Overby
2013/07/19 17:48:00
Done.
Ty Overby
2013/07/19 17:48:00
Done.
| |
411 const char kEnableNewMediaInternals[] = "enable-new-media-internals"; | |
scherkus (not reviewing)
2013/07/19 01:58:49
line up that = sign
Ty Overby
2013/07/19 17:48:00
Done.
| |
412 | |
410 // On Windows, converts the page to the currently-installed monitor profile. | 413 // On Windows, converts the page to the currently-installed monitor profile. |
411 // This does NOT enable color management for images. The source is still | 414 // This does NOT enable color management for images. The source is still |
412 // assumed to be sRGB. | 415 // assumed to be sRGB. |
413 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 416 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
414 | 417 |
415 // Enables compositor-accelerated touch-screen pinch gestures. | 418 // Enables compositor-accelerated touch-screen pinch gestures. |
416 const char kEnablePinch[] = "enable-pinch"; | 419 const char kEnablePinch[] = "enable-pinch"; |
417 const char kDisablePinch[] = "disable-pinch"; | 420 const char kDisablePinch[] = "disable-pinch"; |
418 | 421 |
419 // Enables use of cache if offline, even if it's stale | 422 // Enables use of cache if offline, even if it's stale |
(...skipping 473 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
893 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 896 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
894 | 897 |
895 // Enables/disables accelerated compositing for backgrounds of root layers with | 898 // Enables/disables accelerated compositing for backgrounds of root layers with |
896 // background-attachment: fixed. Requires kForceCompositingMode. | 899 // background-attachment: fixed. Requires kForceCompositingMode. |
897 const char kDisableAcceleratedFixedRootBackground[] = | 900 const char kDisableAcceleratedFixedRootBackground[] = |
898 "disable-accelerated-fixed-root-background"; | 901 "disable-accelerated-fixed-root-background"; |
899 const char kEnableAcceleratedFixedRootBackground[] = | 902 const char kEnableAcceleratedFixedRootBackground[] = |
900 "enable-accelerated-fixed-root-background"; | 903 "enable-accelerated-fixed-root-background"; |
901 | 904 |
902 } // namespace switches | 905 } // namespace switches |
OLD | NEW |