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