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