| 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 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 315 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; | 315 const char kUseFakeDeviceForMediaStream[] = "use-fake-device-for-media-stream"; |
| 316 | 316 |
| 317 // On Windows, converts the page to the currently-installed monitor profile. | 317 // On Windows, converts the page to the currently-installed monitor profile. |
| 318 // This does NOT enable color management for images. The source is still | 318 // This does NOT enable color management for images. The source is still |
| 319 // assumed to be sRGB. | 319 // assumed to be sRGB. |
| 320 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 320 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 321 | 321 |
| 322 // Enables compositor-accelerated touch-screen pinch gestures. | 322 // Enables compositor-accelerated touch-screen pinch gestures. |
| 323 const char kEnablePinch[] = "enable-pinch"; | 323 const char kEnablePinch[] = "enable-pinch"; |
| 324 | 324 |
| 325 // Enables Android-style touch-screen pinch gestures. | |
| 326 const char kEnableCssTransformPinch[] = "enable-css-transform-pinch"; | |
| 327 | |
| 328 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 325 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 329 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 326 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 330 | 327 |
| 331 // Enable privileged WebGL extensions; without this switch such extensions are | 328 // Enable privileged WebGL extensions; without this switch such extensions are |
| 332 // available only to Chrome extensions. | 329 // available only to Chrome extensions. |
| 333 const char kEnablePrivilegedWebGLExtensions[] = | 330 const char kEnablePrivilegedWebGLExtensions[] = |
| 334 "enable-privileged-webgl-extensions"; | 331 "enable-privileged-webgl-extensions"; |
| 335 | 332 |
| 336 // Aggressively free GPU command buffers belonging to hidden tabs. | 333 // Aggressively free GPU command buffers belonging to hidden tabs. |
| 337 const char kEnablePruneGpuCommandBuffers[] = | 334 const char kEnablePruneGpuCommandBuffers[] = |
| (...skipping 424 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 762 = "disable-fixed-position-creates-stacking-context"; | 759 = "disable-fixed-position-creates-stacking-context"; |
| 763 | 760 |
| 764 // Defer image decoding in WebKit until painting. | 761 // Defer image decoding in WebKit until painting. |
| 765 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 762 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
| 766 | 763 |
| 767 // Disables history navigation in response to horizontal overscroll. | 764 // Disables history navigation in response to horizontal overscroll. |
| 768 const char kDisableOverscrollHistoryNavigation[] = | 765 const char kDisableOverscrollHistoryNavigation[] = |
| 769 "disable-overscroll-history-navigation"; | 766 "disable-overscroll-history-navigation"; |
| 770 | 767 |
| 771 } // namespace switches | 768 } // namespace switches |
| OLD | NEW |