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 326 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
337 // Disable multithreaded GPU compositing of web content. | 337 // Disable multithreaded GPU compositing of web content. |
338 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 338 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
339 | 339 |
340 // Enable use of experimental TCP sockets API for sending data in the | 340 // Enable use of experimental TCP sockets API for sending data in the |
341 // SYN packet. | 341 // SYN packet. |
342 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 342 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
343 | 343 |
344 // Enable support for JavaScript touch events. | 344 // Enable support for JavaScript touch events. |
345 const char kEnableTouchEvents[] = "enable-touch-events"; | 345 const char kEnableTouchEvents[] = "enable-touch-events"; |
346 | 346 |
347 // Enables hardware acceleration for video decode on Linux and ChromeOS | |
Ami GONE FROM CHROMIUM
2012/04/09 02:41:47
VAAPI code is not built on linux so this comment o
Pawel Osciak
2012/05/03 16:22:07
Yes, I want to do this once this gets in and I get
| |
348 // on Intel CPUs (mostly Sandy Bridge+) using VAAPI. | |
349 const char kEnableVaapi[] = "enable-vaapi"; | |
350 | |
347 // Enables support for video tracks. Current implementation is | 351 // Enables support for video tracks. Current implementation is |
348 // incomplete and this flag is used for development and testing. | 352 // incomplete and this flag is used for development and testing. |
349 const char kEnableVideoTrack[] = "enable-video-track"; | 353 const char kEnableVideoTrack[] = "enable-video-track"; |
350 | 354 |
351 // Enables the use of the viewport meta tag, which allows | 355 // Enables the use of the viewport meta tag, which allows |
352 // pages to control aspects of their own layout. | 356 // pages to control aspects of their own layout. |
353 const char kEnableViewport[] = "enable-viewport"; | 357 const char kEnableViewport[] = "enable-viewport"; |
354 | 358 |
355 // Disable Web Intents. | 359 // Disable Web Intents. |
356 const char kDisableWebIntents[] = "disable-web-intents"; | 360 const char kDisableWebIntents[] = "disable-web-intents"; |
(...skipping 304 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
661 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; | 665 extern const char kFlingTapSuppressMaxDown[] = "fling-tap-suppress-max-down"; |
662 | 666 |
663 // Maximum time between mousedown and mouseup to be considered a tap. | 667 // Maximum time between mousedown and mouseup to be considered a tap. |
664 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; | 668 extern const char kFlingTapSuppressMaxGap[] = "fling-tap-suppress-max-gap"; |
665 | 669 |
666 // Forces usage of the test compositor. Needed to run ui tests on bots. | 670 // Forces usage of the test compositor. Needed to run ui tests on bots. |
667 extern const char kTestCompositor[] = "test-compositor"; | 671 extern const char kTestCompositor[] = "test-compositor"; |
668 #endif | 672 #endif |
669 | 673 |
670 } // namespace switches | 674 } // namespace switches |
OLD | NEW |