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 290 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
301 | 301 |
302 // On Windows, converts the page to the currently-installed monitor profile. | 302 // On Windows, converts the page to the currently-installed monitor profile. |
303 // This does NOT enable color management for images. The source is still | 303 // This does NOT enable color management for images. The source is still |
304 // assumed to be sRGB. | 304 // assumed to be sRGB. |
305 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 305 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
306 | 306 |
307 // Enables UI releasing handle to front surface for background tabs on platforms | 307 // Enables UI releasing handle to front surface for background tabs on platforms |
308 // that support it. | 308 // that support it. |
309 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; | 309 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; |
310 | 310 |
311 // Enables touch-screen pinch gestures. | 311 // Enables compositor-accelerated touch-screen pinch gestures. |
312 const char kEnablePinch[] = "enable-pinch"; | 312 const char kEnablePinch[] = "enable-pinch"; |
313 | 313 |
| 314 // Enables Android-style touch-screen pinch gestures. |
| 315 const char kEnableCssTransformPinch[] = "enable-css-transform-pinch"; |
| 316 |
314 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 317 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
315 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 318 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
316 | 319 |
317 // Enable privileged WebGL extensions; without this switch such extensions are | 320 // Enable privileged WebGL extensions; without this switch such extensions are |
318 // available only to Chrome extensions. | 321 // available only to Chrome extensions. |
319 const char kEnablePrivilegedWebGLExtensions[] = | 322 const char kEnablePrivilegedWebGLExtensions[] = |
320 "enable-privileged-webgl-extensions"; | 323 "enable-privileged-webgl-extensions"; |
321 | 324 |
322 // Aggressively free GPU command buffers belonging to hidden tabs. | 325 // Aggressively free GPU command buffers belonging to hidden tabs. |
323 const char kEnablePruneGpuCommandBuffers[] = | 326 const char kEnablePruneGpuCommandBuffers[] = |
(...skipping 423 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
747 = "disable-fixed-position-creates-stacking-context"; | 750 = "disable-fixed-position-creates-stacking-context"; |
748 | 751 |
749 // Defer image decoding in WebKit until painting. | 752 // Defer image decoding in WebKit until painting. |
750 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; | 753 const char kEnableDeferredImageDecoding[] = "enable-deferred-image-decoding"; |
751 | 754 |
752 // Enables history navigation in response to horizontal overscroll. | 755 // Enables history navigation in response to horizontal overscroll. |
753 const char kEnableOverscrollHistoryNavigation[] = | 756 const char kEnableOverscrollHistoryNavigation[] = |
754 "enable-overscroll-history-navigation"; | 757 "enable-overscroll-history-navigation"; |
755 | 758 |
756 } // namespace switches | 759 } // namespace switches |
OLD | NEW |