| 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 394 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 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 // On Windows, converts the page to the currently-installed monitor profile. | 410 // On Windows, converts the page to the currently-installed monitor profile. |
| 411 // This does NOT enable color management for images. The source is still | 411 // This does NOT enable color management for images. The source is still |
| 412 // assumed to be sRGB. | 412 // assumed to be sRGB. |
| 413 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 413 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 414 | 414 |
| 415 // Enables the new chrome://media-internals page. |
| 416 // http://crbug.com/260005 |
| 417 const char kEnableNewMediaInternals[] = "enable-new-media-internals"; |
| 418 |
| 415 // Enables compositor-accelerated touch-screen pinch gestures. | 419 // Enables compositor-accelerated touch-screen pinch gestures. |
| 416 const char kEnablePinch[] = "enable-pinch"; | 420 const char kEnablePinch[] = "enable-pinch"; |
| 417 const char kDisablePinch[] = "disable-pinch"; | 421 const char kDisablePinch[] = "disable-pinch"; |
| 418 | 422 |
| 419 // Enables use of cache if offline, even if it's stale | 423 // Enables use of cache if offline, even if it's stale |
| 420 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; | 424 const char kEnableOfflineCacheAccess[] = "enable-offline-cache-access"; |
| 421 | 425 |
| 422 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 426 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 423 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 427 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 424 | 428 |
| (...skipping 468 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 893 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 897 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
| 894 | 898 |
| 895 // Enables/disables accelerated compositing for backgrounds of root layers with | 899 // Enables/disables accelerated compositing for backgrounds of root layers with |
| 896 // background-attachment: fixed. Requires kForceCompositingMode. | 900 // background-attachment: fixed. Requires kForceCompositingMode. |
| 897 const char kDisableAcceleratedFixedRootBackground[] = | 901 const char kDisableAcceleratedFixedRootBackground[] = |
| 898 "disable-accelerated-fixed-root-background"; | 902 "disable-accelerated-fixed-root-background"; |
| 899 const char kEnableAcceleratedFixedRootBackground[] = | 903 const char kEnableAcceleratedFixedRootBackground[] = |
| 900 "enable-accelerated-fixed-root-background"; | 904 "enable-accelerated-fixed-root-background"; |
| 901 | 905 |
| 902 } // namespace switches | 906 } // namespace switches |
| OLD | NEW |