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 430 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
441 // buffer clients) if they are compatible. | 441 // buffer clients) if they are compatible. |
442 const char kEnableVirtualGLContexts[] = "enable-virtual-gl-contexts"; | 442 const char kEnableVirtualGLContexts[] = "enable-virtual-gl-contexts"; |
443 | 443 |
444 // Disable multithreaded GPU compositing of web content. | 444 // Disable multithreaded GPU compositing of web content. |
445 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 445 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
446 | 446 |
447 // Enable use of experimental TCP sockets API for sending data in the | 447 // Enable use of experimental TCP sockets API for sending data in the |
448 // SYN packet. | 448 // SYN packet. |
449 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 449 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
450 | 450 |
| 451 // Enables HW decode acceleration for WebRTC. |
| 452 const char kEnableWebRTCHWDecoding[] = "enable-webrtc-hw-decoding"; |
| 453 |
451 // Disables hardware acceleration of video decode, where available. | 454 // Disables hardware acceleration of video decode, where available. |
452 const char kDisableAcceleratedVideoDecode[] = | 455 const char kDisableAcceleratedVideoDecode[] = |
453 "disable-accelerated-video-decode"; | 456 "disable-accelerated-video-decode"; |
454 | 457 |
455 // Enables the use of the viewport meta tag, which allows | 458 // Enables the use of the viewport meta tag, which allows |
456 // pages to control aspects of their own layout. This also turns on touch-screen | 459 // pages to control aspects of their own layout. This also turns on touch-screen |
457 // pinch gestures. | 460 // pinch gestures. |
458 const char kEnableViewport[] = "enable-viewport"; | 461 const char kEnableViewport[] = "enable-viewport"; |
459 | 462 |
460 // Enables experimental features for the geolocation API. | 463 // Enables experimental features for the geolocation API. |
(...skipping 393 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
854 // Forward overscroll event data from the renderer to the browser. | 857 // Forward overscroll event data from the renderer to the browser. |
855 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 858 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
856 | 859 |
857 // Enables 'image/webp' accept header for image requests. | 860 // Enables 'image/webp' accept header for image requests. |
858 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 861 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
859 | 862 |
860 // Enables WebGL extensions not yet approved by the community. | 863 // Enables WebGL extensions not yet approved by the community. |
861 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; | 864 const char kEnableWebGLDraftExtensions[] = "enable-webgl-draft-extensions"; |
862 | 865 |
863 } // namespace switches | 866 } // namespace switches |
OLD | NEW |