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