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 259 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
270 // This does NOT enable color management for images. The source is still | 270 // This does NOT enable color management for images. The source is still |
271 // assumed to be sRGB. | 271 // assumed to be sRGB. |
272 const char kEnableMonitorProfile[] = "enable-monitor-profile"; | 272 const char kEnableMonitorProfile[] = "enable-monitor-profile"; |
273 | 273 |
274 // Enables TLS domain bound certificate extension. | 274 // Enables TLS domain bound certificate extension. |
275 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; | 275 const char kEnableOriginBoundCerts[] = "enable-origin-bound-certs"; |
276 | 276 |
277 // Enables partial swaps in the WK compositor on platforms that support it. | 277 // Enables partial swaps in the WK compositor on platforms that support it. |
278 const char kEnablePartialSwap[] = "enable-partial-swap"; | 278 const char kEnablePartialSwap[] = "enable-partial-swap"; |
279 | 279 |
| 280 // Enables UI releasing handle to front surface for background tabs on platforms |
| 281 // that support it. |
| 282 const char kEnableUIReleaseFrontSurface[] = "enable-ui-release-front-surface"; |
| 283 |
280 // Enables touch-screen pinch gestures. | 284 // Enables touch-screen pinch gestures. |
281 const char kEnablePinch[] = "enable-pinch"; | 285 const char kEnablePinch[] = "enable-pinch"; |
282 | 286 |
283 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. | 287 // Enable caching of pre-parsed JS script data. See http://crbug.com/32407. |
284 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; | 288 const char kEnablePreparsedJsCaching[] = "enable-preparsed-js-caching"; |
285 | 289 |
286 // Enable privileged WebGL extensions; without this switch such extensions are | 290 // Enable privileged WebGL extensions; without this switch such extensions are |
287 // available only to Chrome extensions. | 291 // available only to Chrome extensions. |
288 const char kEnablePrivilegedWebGLExtensions[] = | 292 const char kEnablePrivilegedWebGLExtensions[] = |
289 "enable-privileged-webgl-extensions"; | 293 "enable-privileged-webgl-extensions"; |
(...skipping 350 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
640 const char kDefaultTileWidth[] = "default-tile-width"; | 644 const char kDefaultTileWidth[] = "default-tile-width"; |
641 const char kDefaultTileHeight[] = "default-tile-height"; | 645 const char kDefaultTileHeight[] = "default-tile-height"; |
642 | 646 |
643 // Sets the width and height above which a composited layer will get tiled. | 647 // Sets the width and height above which a composited layer will get tiled. |
644 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 648 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
645 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 649 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
646 | 650 |
647 const char kFixedPositionCreatesStackingContext[] | 651 const char kFixedPositionCreatesStackingContext[] |
648 = "fixed-position-creates-stacking-context"; | 652 = "fixed-position-creates-stacking-context"; |
649 } // namespace switches | 653 } // namespace switches |
OLD | NEW |