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