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 332 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
343 // Use fake device for MediaStream to replace actual camera and microphone. | 343 // Use fake device for MediaStream to replace actual camera and microphone. |
344 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 344 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
345 | 345 |
346 // On Windows, converts the page to the currently-installed monitor profile. | 346 // On Windows, converts the page to the currently-installed monitor profile. |
347 // This does NOT enable color management for images. The source is still | 347 // This does NOT enable color management for images. The source is still |
348 // assumed to be sRGB. | 348 // assumed to be sRGB. |
349 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 349 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
350 | 350 |
351 // Enables compositor-accelerated touch-screen pinch gestures. | 351 // Enables compositor-accelerated touch-screen pinch gestures. |
352 const char kEnablePinch[] = "enable-pinch"; | 352 const char kEnablePinch[] = "enable-pinch"; |
| 353 const char kDisablePinch[] = "disable-pinch"; |
353 | 354 |
354 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 355 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
355 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 356 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
356 | 357 |
357 // Enable privileged WebGL extensions; without this switch such extensions are | 358 // Enable privileged WebGL extensions; without this switch such extensions are |
358 // available only to Chrome extensions. | 359 // available only to Chrome extensions. |
359 const char kEnablePrivilegedWebGLExtensions[] = | 360 const char kEnablePrivilegedWebGLExtensions[] = |
360 "enable-privileged-webgl-extensions"; | 361 "enable-privileged-webgl-extensions"; |
361 | 362 |
362 // Aggressively free GPU command buffers belonging to hidden tabs. | 363 // Aggressively free GPU command buffers belonging to hidden tabs. |
(...skipping 436 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
799 = "disable-fixed-position-creates-stacking-context"; | 800 = "disable-fixed-position-creates-stacking-context"; |
800 | 801 |
801 // Defer image decoding in WebKit until painting. | 802 // Defer image decoding in WebKit until painting. |
802 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 803 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
803 | 804 |
804 // Disables history navigation in response to horizontal overscroll. | 805 // Disables history navigation in response to horizontal overscroll. |
805 const char kDisableOverscrollHistoryNavigation[] = | 806 const char kDisableOverscrollHistoryNavigation[] = |
806 "disable-overscroll-history-navigation"; | 807 "disable-overscroll-history-navigation"; |
807 | 808 |
808 } // namespace switches | 809 } // namespace switches |
OLD | NEW |