| 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 336 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 // Enable multithreaded GPU compositing of web content. | 347 // Enable multithreaded GPU compositing of web content. |
| 348 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 348 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
| 349 | 349 |
| 350 // Disable multithreaded GPU compositing of web content. | 350 // Disable multithreaded GPU compositing of web content. |
| 351 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 351 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
| 352 | 352 |
| 353 // Enable use of experimental TCP sockets API for sending data in the | 353 // Enable use of experimental TCP sockets API for sending data in the |
| 354 // SYN packet. | 354 // SYN packet. |
| 355 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 355 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 356 | 356 |
| 357 // Enables hardware acceleration of video decode, where available. | 357 // Disables hardware acceleration of video decode, where available. |
| 358 const char kEnableAcceleratedVideoDecode[] = "enable-accelerated-video-decode"; | 358 const char kDisableAcceleratedVideoDecode[] = |
| 359 "disable-accelerated-video-decode"; |
| 359 | 360 |
| 360 // Enables support for video tracks. Current implementation is | 361 // Enables support for video tracks. Current implementation is |
| 361 // incomplete and this flag is used for development and testing. | 362 // incomplete and this flag is used for development and testing. |
| 362 const char kEnableVideoTrack[] = "enable-video-track"; | 363 const char kEnableVideoTrack[] = "enable-video-track"; |
| 363 | 364 |
| 364 // Enables the use of the viewport meta tag, which allows | 365 // Enables the use of the viewport meta tag, which allows |
| 365 // pages to control aspects of their own layout. This also turns on touch-screen | 366 // pages to control aspects of their own layout. This also turns on touch-screen |
| 366 // pinch gestures. | 367 // pinch gestures. |
| 367 const char kEnableViewport[] = "enable-viewport"; | 368 const char kEnableViewport[] = "enable-viewport"; |
| 368 | 369 |
| (...skipping 297 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 666 const char kDefaultTileWidth[] = "default-tile-width"; | 667 const char kDefaultTileWidth[] = "default-tile-width"; |
| 667 const char kDefaultTileHeight[] = "default-tile-height"; | 668 const char kDefaultTileHeight[] = "default-tile-height"; |
| 668 | 669 |
| 669 // Sets the width and height above which a composited layer will get tiled. | 670 // Sets the width and height above which a composited layer will get tiled. |
| 670 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 671 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 671 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 672 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 672 | 673 |
| 673 const char kFixedPositionCreatesStackingContext[] | 674 const char kFixedPositionCreatesStackingContext[] |
| 674 = "fixed-position-creates-stacking-context"; | 675 = "fixed-position-creates-stacking-context"; |
| 675 } // namespace switches | 676 } // namespace switches |
| OLD | NEW |