| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 423 // buffer clients) if they are compatible. | 423 // buffer clients) if they are compatible. |
| 424 const char kEnableVirtualGLContexts[] = "enable-virtual-gl-contexts"; | 424 const char kEnableVirtualGLContexts[] = "enable-virtual-gl-contexts"; |
| 425 | 425 |
| 426 // Disable multithreaded GPU compositing of web content. | 426 // Disable multithreaded GPU compositing of web content. |
| 427 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 427 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
| 428 | 428 |
| 429 // Enable use of experimental TCP sockets API for sending data in the | 429 // Enable use of experimental TCP sockets API for sending data in the |
| 430 // SYN packet. | 430 // SYN packet. |
| 431 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 431 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
| 432 | 432 |
| 433 // Enables HW decode acceleration for WebRTC. |
| 434 const char kEnableWebRTCHWDecoding[] = "enable-webrtc-hw-decoding"; |
| 435 |
| 433 // Disables hardware acceleration of video decode, where available. | 436 // Disables hardware acceleration of video decode, where available. |
| 434 const char kDisableAcceleratedVideoDecode[] = | 437 const char kDisableAcceleratedVideoDecode[] = |
| 435 "disable-accelerated-video-decode"; | 438 "disable-accelerated-video-decode"; |
| 436 | 439 |
| 437 // Enables the use of the viewport meta tag, which allows | 440 // Enables the use of the viewport meta tag, which allows |
| 438 // pages to control aspects of their own layout. This also turns on touch-screen | 441 // pages to control aspects of their own layout. This also turns on touch-screen |
| 439 // pinch gestures. | 442 // pinch gestures. |
| 440 const char kEnableViewport[] = "enable-viewport"; | 443 const char kEnableViewport[] = "enable-viewport"; |
| 441 | 444 |
| 442 // Enables experimental features for the geolocation API. | 445 // Enables experimental features for the geolocation API. |
| (...skipping 386 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 829 const char kOverscrollHistoryNavigation[] = | 832 const char kOverscrollHistoryNavigation[] = |
| 830 "overscroll-history-navigation"; | 833 "overscroll-history-navigation"; |
| 831 | 834 |
| 832 // Forward overscroll event data from the renderer to the browser. | 835 // Forward overscroll event data from the renderer to the browser. |
| 833 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; | 836 const char kEnableOverscrollNotifications[] = "enable-overscroll-notifications"; |
| 834 | 837 |
| 835 // Enables 'image/webp' accept header for image requests. | 838 // Enables 'image/webp' accept header for image requests. |
| 836 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; | 839 const char kEnableWebPInAcceptHeader[] = "enable-webp-in-accept-header"; |
| 837 | 840 |
| 838 } // namespace switches | 841 } // namespace switches |
| OLD | NEW |