Chromium Code Reviews| 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 360 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 371 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 371 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
| 372 | 372 |
| 373 // Enable use of experimental TCP sockets API for sending data in the | 373 // Enable use of experimental TCP sockets API for sending data in the |
| 374 // SYN packet. | 374 // SYN packet. |
| 375 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 375 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 376 | 376 |
| 377 // Disables hardware acceleration of video decode, where available. | 377 // Disables hardware acceleration of video decode, where available. |
| 378 const char kDisableAcceleratedVideoDecode[] = | 378 const char kDisableAcceleratedVideoDecode[] = |
| 379 "disable-accelerated-video-decode"; | 379 "disable-accelerated-video-decode"; |
| 380 | 380 |
| 381 // Enables support for video tracks. Current implementation is | 381 // Disables video text tracks. |
| 382 // incomplete and this flag is used for development and testing. | 382 const char kDisableVideoTrack[] = "disable-video-track"; |
|
jam
2012/08/28 07:11:56
nit: spacing to match above
annacc
2012/08/28 16:50:40
Done.
| |
| 383 const char kEnableVideoTrack[] = "enable-video-track"; | |
| 384 | 383 |
| 385 // Enables the use of the viewport meta tag, which allows | 384 // Enables the use of the viewport meta tag, which allows |
| 386 // pages to control aspects of their own layout. This also turns on touch-screen | 385 // pages to control aspects of their own layout. This also turns on touch-screen |
| 387 // pinch gestures. | 386 // pinch gestures. |
| 388 const char kEnableViewport[] = "enable-viewport"; | 387 const char kEnableViewport[] = "enable-viewport"; |
| 389 | 388 |
| 390 // Enables experimental features for the geolocation API. | 389 // Enables experimental features for the geolocation API. |
| 391 // Current features: | 390 // Current features: |
| 392 // - CoreLocation support for Mac OS X 10.6 | 391 // - CoreLocation support for Mac OS X 10.6 |
| 393 // - Gateway location for Linux and Windows | 392 // - Gateway location for Linux and Windows |
| (...skipping 320 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 714 // Sets the width and height above which a composited layer will get tiled. | 713 // Sets the width and height above which a composited layer will get tiled. |
| 715 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 714 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
| 716 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 715 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
| 717 | 716 |
| 718 const char kEnableFixedPositionCreatesStackingContext[] | 717 const char kEnableFixedPositionCreatesStackingContext[] |
| 719 = "enable-fixed-position-creates-stacking-context"; | 718 = "enable-fixed-position-creates-stacking-context"; |
| 720 const char kDisableFixedPositionCreatesStackingContext[] | 719 const char kDisableFixedPositionCreatesStackingContext[] |
| 721 = "disable-fixed-position-creates-stacking-context"; | 720 = "disable-fixed-position-creates-stacking-context"; |
| 722 | 721 |
| 723 } // namespace switches | 722 } // namespace switches |
| OLD | NEW |