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 286 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
297 const char kEnablePeerConnection[] = "enable-peer-connection"; | 297 const char kEnablePeerConnection[] = "enable-peer-connection"; |
298 | 298 |
299 // On Windows, converts the page to the currently-installed monitor profile. | 299 // On Windows, converts the page to the currently-installed monitor profile. |
300 // This does NOT enable color management for images. The source is still | 300 // This does NOT enable color management for images. The source is still |
301 // assumed to be sRGB. | 301 // assumed to be sRGB. |
302 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 302 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
303 | 303 |
304 // Enables partial swaps in the WK compositor on platforms that support it. | 304 // Enables partial swaps in the WK compositor on platforms that support it. |
305 const char kEnablePartialSwap[] = "enable-partial-swap"; | 305 const char kEnablePartialSwap[] = "enable-partial-swap"; |
306 | 306 |
| 307 // Enables UI releasing handle to front surface for background tabs on platforms |
| 308 // that support it. |
| 309 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; |
| 310 |
307 // Enables touch-screen pinch gestures. | 311 // Enables touch-screen pinch gestures. |
308 const char kEnablePinch[] = "enable-pinch"; | 312 const char kEnablePinch[] = "enable-pinch"; |
309 | 313 |
310 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 314 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
311 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 315 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
312 | 316 |
313 // Enable privileged WebGL extensions; without this switch such extensions are | 317 // Enable privileged WebGL extensions; without this switch such extensions are |
314 // available only to Chrome extensions. | 318 // available only to Chrome extensions. |
315 const char kEnablePrivilegedWebGLExtensions[] = | 319 const char kEnablePrivilegedWebGLExtensions[] = |
316 "enable-privileged-webgl-extensions"; | 320 "enable-privileged-webgl-extensions"; |
(...skipping 365 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
682 const char kDefaultTileWidth[] = "default-tile-width"; | 686 const char kDefaultTileWidth[] = "default-tile-width"; |
683 const char kDefaultTileHeight[] = "default-tile-height"; | 687 const char kDefaultTileHeight[] = "default-tile-height"; |
684 | 688 |
685 // Sets the width and height above which a composited layer will get tiled. | 689 // Sets the width and height above which a composited layer will get tiled. |
686 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 690 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
687 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 691 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
688 | 692 |
689 const char kFixedPositionCreatesStackingContext[] | 693 const char kFixedPositionCreatesStackingContext[] |
690 = "fixed-position-creates-stacking-context"; | 694 = "fixed-position-creates-stacking-context"; |
691 } // namespace switches | 695 } // namespace switches |
OLD | NEW |