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 316 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
327 // Enable multithreaded GPU compositing of web content. | 327 // Enable multithreaded GPU compositing of web content. |
328 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 328 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
329 | 329 |
330 // Disable multithreaded GPU compositing of web content. | 330 // Disable multithreaded GPU compositing of web content. |
331 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 331 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
332 | 332 |
333 // Enable use of experimental TCP sockets API for sending data in the | 333 // Enable use of experimental TCP sockets API for sending data in the |
334 // SYN packet. | 334 // SYN packet. |
335 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 335 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
336 | 336 |
337 // Enables hardware acceleration for video decode on ChromeOS | |
338 // on Intel CPUs (mostly Sandy Bridge+) using VAAPI. | |
339 const char kEnableVaapi[] = "enable-vaapi"; | |
340 | |
341 // Enables support for video tracks. Current implementation is | 337 // Enables support for video tracks. Current implementation is |
342 // incomplete and this flag is used for development and testing. | 338 // incomplete and this flag is used for development and testing. |
343 const char kEnableVideoTrack[] = "enable-video-track"; | 339 const char kEnableVideoTrack[] = "enable-video-track"; |
344 | 340 |
345 // Enables the use of the viewport meta tag, which allows | 341 // Enables the use of the viewport meta tag, which allows |
346 // pages to control aspects of their own layout. This also turns on touch-screen | 342 // pages to control aspects of their own layout. This also turns on touch-screen |
347 // pinch gestures. | 343 // pinch gestures. |
348 const char kEnableViewport[] = "enable-viewport"; | 344 const char kEnableViewport[] = "enable-viewport"; |
349 | 345 |
350 // Enables experimental features for the geolocation API. | 346 // Enables experimental features for the geolocation API. |
(...skipping 291 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
642 | 638 |
643 // Sets the tile size used by composited layers. | 639 // Sets the tile size used by composited layers. |
644 const char kDefaultTileWidth[] = "default-tile-width"; | 640 const char kDefaultTileWidth[] = "default-tile-width"; |
645 const char kDefaultTileHeight[] = "default-tile-height"; | 641 const char kDefaultTileHeight[] = "default-tile-height"; |
646 | 642 |
647 // Sets the width and height above which a composited layer will get tiled. | 643 // Sets the width and height above which a composited layer will get tiled. |
648 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; | 644 const char kMaxUntiledLayerWidth[] = "max-untiled-layer-width"; |
649 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; | 645 const char kMaxUntiledLayerHeight[] = "max-untiled-layer-height"; |
650 | 646 |
651 } // namespace switches | 647 } // namespace switches |
OLD | NEW |