| 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 294 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 305 // Enables partial swaps in the WK compositor on platforms that support it. | 305 // Enables partial swaps in the WK compositor on platforms that support it. |
| 306 const char kEnablePartialSwap[] = "enable-partial-swap"; | 306 const char kEnablePartialSwap[] = "enable-partial-swap"; |
| 307 | 307 |
| 308 // Enables UI releasing handle to front surface for background tabs on platforms | 308 // Enables UI releasing handle to front surface for background tabs on platforms |
| 309 // that support it. | 309 // that support it. |
| 310 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; | 310 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; |
| 311 | 311 |
| 312 // Enables touch-screen pinch gestures. | 312 // Enables touch-screen pinch gestures. |
| 313 const char kEnablePinch[] = "enable-pinch"; | 313 const char kEnablePinch[] = "enable-pinch"; |
| 314 | 314 |
| 315 // Enables an alternative pinch-zoom gesture support, via the threaded |
| 316 // compositor. |
| 317 const char kEnablePinchInCompositor[] = "enable-pinch-in-compositor"; |
| 318 |
| 315 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 319 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 316 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 320 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 317 | 321 |
| 318 // Enable privileged WebGL extensions; without this switch such extensions are | 322 // Enable privileged WebGL extensions; without this switch such extensions are |
| 319 // available only to Chrome extensions. | 323 // available only to Chrome extensions. |
| 320 const char kEnablePrivilegedWebGLExtensions[] = | 324 const char kEnablePrivilegedWebGLExtensions[] = |
| 321 "enable-privileged-webgl-extensions"; | 325 "enable-privileged-webgl-extensions"; |
| 322 | 326 |
| 323 // Aggressively free GPU command buffers belonging to hidden tabs. | 327 // Aggressively free GPU command buffers belonging to hidden tabs. |
| 324 const char kEnablePruneGpuCommandBuffers[] = | 328 const char kEnablePruneGpuCommandBuffers[] = |
| (...skipping 389 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 714 // Sets the width and height above which a composited layer will get tiled. | 718 // Sets the width and height above which a composited layer will get tiled. |
| 715 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 719 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 716 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 720 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 717 | 721 |
| 718 const char kEnableFixedPositionCreatesStackingContext[] | 722 const char kEnableFixedPositionCreatesStackingContext[] |
| 719 = "enable-fixed-position-creates-stacking-context"; | 723 = "enable-fixed-position-creates-stacking-context"; |
| 720 const char kDisableFixedPositionCreatesStackingContext[] | 724 const char kDisableFixedPositionCreatesStackingContext[] |
| 721 = "disable-fixed-position-creates-stacking-context"; | 725 = "disable-fixed-position-creates-stacking-context"; |
| 722 | 726 |
| 723 } // namespace switches | 727 } // namespace switches |
| OLD | NEW |