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 396 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
407 // buffer clients) if they are compatible. | 407 // buffer clients) if they are compatible. |
408 const char kEnableVirtualGLContexts[] = "enable-virtual-gl-contexts"; | 408 const char kEnableVirtualGLContexts[] = "enable-virtual-gl-contexts"; |
409 | 409 |
410 // Disable multithreaded GPU compositing of web content. | 410 // Disable multithreaded GPU compositing of web content. |
411 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 411 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
412 | 412 |
413 // Enable use of experimental TCP sockets API for sending data in the | 413 // Enable use of experimental TCP sockets API for sending data in the |
414 // SYN packet. | 414 // SYN packet. |
415 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 415 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
416 | 416 |
| 417 // Enables HW decode acceleration for WebRTC. |
| 418 const char kEnableWebRTCHWDecoding[] = "enable-webrtc-hw-decoding"; |
| 419 |
417 // Disables hardware acceleration of video decode, where available. | 420 // Disables hardware acceleration of video decode, where available. |
418 const char kDisableAcceleratedVideoDecode[] = | 421 const char kDisableAcceleratedVideoDecode[] = |
419 "disable-accelerated-video-decode"; | 422 "disable-accelerated-video-decode"; |
420 | 423 |
421 // Enables the use of the viewport meta tag, which allows | 424 // Enables the use of the viewport meta tag, which allows |
422 // pages to control aspects of their own layout. This also turns on touch-screen | 425 // pages to control aspects of their own layout. This also turns on touch-screen |
423 // pinch gestures. | 426 // pinch gestures. |
424 const char kEnableViewport[] = "enable-viewport"; | 427 const char kEnableViewport[] = "enable-viewport"; |
425 | 428 |
426 // Enables experimental features for the geolocation API. | 429 // Enables experimental features for the geolocation API. |
(...skipping 371 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
798 // Enables or disables history navigation in response to horizontal overscroll. | 801 // Enables or disables history navigation in response to horizontal overscroll. |
799 // Set the value to '1' to enable the feature, and set to '0' to disable. | 802 // Set the value to '1' to enable the feature, and set to '0' to disable. |
800 // Defaults to enabled. | 803 // Defaults to enabled. |
801 const char kOverscrollHistoryNavigation[] = | 804 const char kOverscrollHistoryNavigation[] = |
802 "overscroll-history-navigation"; | 805 "overscroll-history-navigation"; |
803 | 806 |
804 // Enables 'image/webp' accept header for image requests. | 807 // Enables 'image/webp' accept header for image requests. |
805 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 808 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
806 | 809 |
807 } // namespace switches | 810 } // namespace switches |
OLD | NEW |