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