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 285 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
296 // This does NOT enable color management for images. The source is still | 296 // This does NOT enable color management for images. The source is still |
297 // assumed to be sRGB. | 297 // assumed to be sRGB. |
298 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 298 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
299 | 299 |
300 // Enables TLS domain bound certificate extension. | 300 // Enables TLS domain bound certificate extension. |
301 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; | 301 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; |
302 | 302 |
303 // Enables partial swaps in the WK compositor on platforms that support it. | 303 // Enables partial swaps in the WK compositor on platforms that support it. |
304 const char kEnablePartialSwap[] = "enable-partial-swap"; | 304 const char kEnablePartialSwap[] = "enable-partial-swap"; |
305 | 305 |
| 306 // Enables UI releasing handle to front surface for background tabs on platforms |
| 307 // that support it. |
| 308 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; |
| 309 |
306 // Enables touch-screen pinch gestures. | 310 // Enables touch-screen pinch gestures. |
307 const char kEnablePinch[] = "enable-pinch"; | 311 const char kEnablePinch[] = "enable-pinch"; |
308 | 312 |
309 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 313 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
310 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 314 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
311 | 315 |
312 // Enable privileged WebGL extensions; without this switch such extensions are | 316 // Enable privileged WebGL extensions; without this switch such extensions are |
313 // available only to Chrome extensions. | 317 // available only to Chrome extensions. |
314 const char kEnablePrivilegedWebGLExtensions[] = | 318 const char kEnablePrivilegedWebGLExtensions[] = |
315 "enable-privileged-webgl-extensions"; | 319 "enable-privileged-webgl-extensions"; |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 const char kDefaultTileWidth[] = "default-tile-width"; | 670 const char kDefaultTileWidth[] = "default-tile-width"; |
667 const char kDefaultTileHeight[] = "default-tile-height"; | 671 const char kDefaultTileHeight[] = "default-tile-height"; |
668 | 672 |
669 // Sets the width and height above which a composited layer will get tiled. | 673 // Sets the width and height above which a composited layer will get tiled. |
670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 674 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 675 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
672 | 676 |
673 const char kFixedPositionCreatesStackingContext[] | 677 const char kFixedPositionCreatesStackingContext[] |
674 = "fixed-position-creates-stacking-context"; | 678 = "fixed-position-creates-stacking-context"; |
675 } // namespace switches | 679 } // namespace switches |
OLD | NEW |