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 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
70 // Disable limits on the number of backing stores. Can prevent blinking for | 70 // Disable limits on the number of backing stores. Can prevent blinking for |
71 // users with many windows/tabs and lots of memory. | 71 // users with many windows/tabs and lots of memory. |
72 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; | 72 const char kDisableBackingStoreLimit[] = "disable-backing-store-limit"; |
73 | 73 |
74 // Disables HTML5 DB support. | 74 // Disables HTML5 DB support. |
75 const char kDisableDatabases[] = "disable-databases"; | 75 const char kDisableDatabases[] = "disable-databases"; |
76 | 76 |
77 // Disables data transfer items. | 77 // Disables data transfer items. |
78 const char kDisableDataTransferItems[] = "disable-data-transfer-items"; | 78 const char kDisableDataTransferItems[] = "disable-data-transfer-items"; |
79 | 79 |
80 // Disable deferred 2d canvas rendering. | |
81 const char kDisableDeferred2dCanvas[] = "disable-deferred-2d-canvas"; | |
82 | |
83 // Disables desktop notifications (default enabled on windows). | 80 // Disables desktop notifications (default enabled on windows). |
84 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; | 81 const char kDisableDesktopNotifications[] = "disable-desktop-notifications"; |
85 | 82 |
86 // Disables device orientation events. | 83 // Disables device orientation events. |
87 const char kDisableDeviceOrientation[] = "disable-device-orientation"; | 84 const char kDisableDeviceOrientation[] = "disable-device-orientation"; |
88 | 85 |
89 // Disable experimental WebGL support. | 86 // Disable experimental WebGL support. |
90 const char kDisableExperimentalWebGL[] = "disable-webgl"; | 87 const char kDisableExperimentalWebGL[] = "disable-webgl"; |
91 | 88 |
92 // Blacklist the GPU for accelerated compositing. | 89 // Blacklist the GPU for accelerated compositing. |
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
244 // Enables the creation of compositing layers for fixed position elements. | 241 // Enables the creation of compositing layers for fixed position elements. |
245 const char kEnableCompositingForFixedPosition[] = | 242 const char kEnableCompositingForFixedPosition[] = |
246 "enable-fixed-position-compositing"; | 243 "enable-fixed-position-compositing"; |
247 | 244 |
248 // Enables CSS3 regions | 245 // Enables CSS3 regions |
249 const char kEnableCssRegions[] = "enable-css-regions"; | 246 const char kEnableCssRegions[] = "enable-css-regions"; |
250 | 247 |
251 // Enables CSS3 custom filters | 248 // Enables CSS3 custom filters |
252 const char kEnableCssShaders[] = "enable-css-shaders"; | 249 const char kEnableCssShaders[] = "enable-css-shaders"; |
253 | 250 |
| 251 // Enable deferred 2d canvas rendering. |
| 252 const char kEnableDeferred2dCanvas[] = "enable-deferred-2d-canvas"; |
| 253 |
254 // Enables device motion events. | 254 // Enables device motion events. |
255 const char kEnableDeviceMotion[] = "enable-device-motion"; | 255 const char kEnableDeviceMotion[] = "enable-device-motion"; |
256 | 256 |
257 // Enables support for encrypted media. Current implementation is | 257 // Enables support for encrypted media. Current implementation is |
258 // incomplete and this flag is used for development and testing. | 258 // incomplete and this flag is used for development and testing. |
259 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; | 259 const char kEnableEncryptedMedia[] = "enable-encrypted-media"; |
260 | 260 |
261 // Enables the fastback page cache. | 261 // Enables the fastback page cache. |
262 const char kEnableFastback[] = "enable-fastback"; | 262 const char kEnableFastback[] = "enable-fastback"; |
263 | 263 |
(...skipping 402 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
666 const char kDefaultTileWidth[] = "default-tile-width"; | 666 const char kDefaultTileWidth[] = "default-tile-width"; |
667 const char kDefaultTileHeight[] = "default-tile-height"; | 667 const char kDefaultTileHeight[] = "default-tile-height"; |
668 | 668 |
669 // Sets the width and height above which a composited layer will get tiled. | 669 // Sets the width and height above which a composited layer will get tiled. |
670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
672 | 672 |
673 const char kFixedPositionCreatesStackingContext[] | 673 const char kFixedPositionCreatesStackingContext[] |
674 = "fixed-position-creates-stacking-context"; | 674 = "fixed-position-creates-stacking-context"; |
675 } // namespace switches | 675 } // namespace switches |
OLD | NEW |