| 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 273 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 284 const char kEnablePeerConnection[] = "enable-peer-connection"; | 284 const char kEnablePeerConnection[] = "enable-peer-connection"; |
| 285 | 285 |
| 286 // On Windows, converts the page to the currently-installed monitor profile. | 286 // On Windows, converts the page to the currently-installed monitor profile. |
| 287 // This does NOT enable color management for images. The source is still | 287 // This does NOT enable color management for images. The source is still |
| 288 // assumed to be sRGB. | 288 // assumed to be sRGB. |
| 289 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 289 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
| 290 | 290 |
| 291 // Enables partial swaps in the WK compositor on platforms that support it. | 291 // Enables partial swaps in the WK compositor on platforms that support it. |
| 292 const char kEnablePartialSwap[] = "enable-partial-swap"; | 292 const char kEnablePartialSwap[] = "enable-partial-swap"; |
| 293 | 293 |
| 294 // Enables UI releasing handle to front surface for background tabs on platforms |
| 295 // that support it. |
| 296 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; |
| 297 |
| 294 // Enables touch-screen pinch gestures. | 298 // Enables touch-screen pinch gestures. |
| 295 const char kEnablePinch[] = "enable-pinch"; | 299 const char kEnablePinch[] = "enable-pinch"; |
| 296 | 300 |
| 297 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 301 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
| 298 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 302 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
| 299 | 303 |
| 300 // Enable privileged WebGL extensions; without this switch such extensions are | 304 // Enable privileged WebGL extensions; without this switch such extensions are |
| 301 // available only to Chrome extensions. | 305 // available only to Chrome extensions. |
| 302 const char kEnablePrivilegedWebGLExtensions[] = | 306 const char kEnablePrivilegedWebGLExtensions[] = |
| 303 "enable-privileged-webgl-extensions"; | 307 "enable-privileged-webgl-extensions"; |
| (...skipping 364 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 668 const char kDefaultTileWidth[] = "default-tile-width"; | 672 const char kDefaultTileWidth[] = "default-tile-width"; |
| 669 const char kDefaultTileHeight[] = "default-tile-height"; | 673 const char kDefaultTileHeight[] = "default-tile-height"; |
| 670 | 674 |
| 671 // Sets the width and height above which a composited layer will get tiled. | 675 // Sets the width and height above which a composited layer will get tiled. |
| 672 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 676 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 673 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 677 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 674 | 678 |
| 675 const char kFixedPositionCreatesStackingContext[] | 679 const char kFixedPositionCreatesStackingContext[] |
| 676 = "fixed-position-creates-stacking-context"; | 680 = "fixed-position-creates-stacking-context"; |
| 677 } // namespace switches | 681 } // namespace switches |
| OLD | NEW |