| 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 313 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 324 // Enable multithreaded GPU compositing of web content. | 324 // Enable multithreaded GPU compositing of web content. |
| 325 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 325 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
| 326 | 326 |
| 327 // Disable multithreaded GPU compositing of web content. | 327 // Disable multithreaded GPU compositing of web content. |
| 328 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 328 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
| 329 | 329 |
| 330 // Enable use of experimental TCP sockets API for sending data in the | 330 // Enable use of experimental TCP sockets API for sending data in the |
| 331 // SYN packet. | 331 // SYN packet. |
| 332 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 332 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 333 | 333 |
| 334 // Enables hardware acceleration for video decode on ChromeOS |
| 335 // on Intel CPUs (mostly Sandy Bridge+) using VAAPI. |
| 336 const char kEnableVaapi[] = "enable-vaapi"; |
| 337 |
| 334 // Enables support for video tracks. Current implementation is | 338 // Enables support for video tracks. Current implementation is |
| 335 // incomplete and this flag is used for development and testing. | 339 // incomplete and this flag is used for development and testing. |
| 336 const char kEnableVideoTrack[] = "enable-video-track"; | 340 const char kEnableVideoTrack[] = "enable-video-track"; |
| 337 | 341 |
| 338 // Enables the use of the viewport meta tag, which allows | 342 // Enables the use of the viewport meta tag, which allows |
| 339 // pages to control aspects of their own layout. | 343 // pages to control aspects of their own layout. |
| 340 const char kEnableViewport[] = "enable-viewport"; | 344 const char kEnableViewport[] = "enable-viewport"; |
| 341 | 345 |
| 342 // Enables experimental features for the geolocation API. | 346 // Enables experimental features for the geolocation API. |
| 343 // Current features: | 347 // Current features: |
| (...skipping 282 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 626 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 630 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
| 627 | 631 |
| 628 // Maximum time between mousedown and mouseup to be considered a tap. | 632 // Maximum time between mousedown and mouseup to be considered a tap. |
| 629 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 633 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
| 630 | 634 |
| 631 // Forces usage of the test compositor. Needed to run ui tests on bots. | 635 // Forces usage of the test compositor. Needed to run ui tests on bots. |
| 632 extern const char kTestCompositor[] = "test-compositor"; | 636 extern const char kTestCompositor[] = "test-compositor"; |
| 633 #endif | 637 #endif |
| 634 | 638 |
| 635 } // namespace switches | 639 } // namespace switches |
| OLD | NEW |