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 #include "base/command_line.h" | 7 #include "base/command_line.h" |
8 | 8 |
9 namespace switches { | 9 namespace switches { |
10 | 10 |
(...skipping 261 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
272 | 272 |
273 // Disables the use of a 3D software rasterizer. | 273 // Disables the use of a 3D software rasterizer. |
274 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 274 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
275 | 275 |
276 // Disable False Start in SSL and TLS connections. | 276 // Disable False Start in SSL and TLS connections. |
277 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; | 277 const char kDisableSSLFalseStart[] = "disable-ssl-false-start"; |
278 | 278 |
279 // Disable multithreaded GPU compositing of web content. | 279 // Disable multithreaded GPU compositing of web content. |
280 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 280 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
281 | 281 |
282 // Disable accelerated overflow scrolling in corner cases (that would not be | |
283 // handled by enable-accelerated-overflow-scroll). | |
284 const char kDisableUniversalAcceleratedOverflowScroll[] = | |
285 "disable-universal-accelerated-overflow-scroll"; | |
286 | |
287 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 282 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
288 const char kDisableWebSecurity[] = "disable-web-security"; | 283 const char kDisableWebSecurity[] = "disable-web-security"; |
289 | 284 |
290 // Disables support for XSLT. | 285 // Disables support for XSLT. |
291 const char kDisableXSLT[] = "disable-xslt"; | 286 const char kDisableXSLT[] = "disable-xslt"; |
292 | 287 |
293 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 288 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
294 const char kDisableXSSAuditor[] = "disable-xss-auditor"; | 289 const char kDisableXSSAuditor[] = "disable-xss-auditor"; |
295 | 290 |
296 // Disable rasterizer that writes directly to GPU memory associated with tiles. | 291 // Disable rasterizer that writes directly to GPU memory associated with tiles. |
(...skipping 205 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
502 // Enable support for sync events in ServiceWorkers. | 497 // Enable support for sync events in ServiceWorkers. |
503 const char kEnableServiceWorkerSync[] = "enable-service-worker-sync"; | 498 const char kEnableServiceWorkerSync[] = "enable-service-worker-sync"; |
504 | 499 |
505 // Enable use of experimental TCP sockets API for sending data in the | 500 // Enable use of experimental TCP sockets API for sending data in the |
506 // SYN packet. | 501 // SYN packet. |
507 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; | 502 const char kEnableTcpFastOpen[] = "enable-tcp-fastopen"; |
508 | 503 |
509 // Enable multithreaded GPU compositing of web content. | 504 // Enable multithreaded GPU compositing of web content. |
510 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; | 505 const char kEnableThreadedCompositing[] = "enable-threaded-compositing"; |
511 | 506 |
512 // Enable accelerated overflow scrolling in all cases. | |
513 const char kEnableUniversalAcceleratedOverflowScroll[] = | |
514 "enable-universal-accelerated-overflow-scroll"; | |
515 | |
516 // Enable screen capturing support for MediaStream API. | 507 // Enable screen capturing support for MediaStream API. |
517 const char kEnableUserMediaScreenCapturing[] = | 508 const char kEnableUserMediaScreenCapturing[] = |
518 "enable-usermedia-screen-capturing"; | 509 "enable-usermedia-screen-capturing"; |
519 | 510 |
520 // Enables the use of the @viewport CSS rule, which allows | 511 // Enables the use of the @viewport CSS rule, which allows |
521 // pages to control aspects of their own layout. This also turns on touch-screen | 512 // pages to control aspects of their own layout. This also turns on touch-screen |
522 // pinch gestures. | 513 // pinch gestures. |
523 const char kEnableViewport[] = "enable-viewport"; | 514 const char kEnableViewport[] = "enable-viewport"; |
524 | 515 |
525 // Enables the use of the legacy viewport meta tag. Turning this on also | 516 // Enables the use of the legacy viewport meta tag. Turning this on also |
(...skipping 449 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 // Enable the Win32K process mitigation policy for renderer processes which | 966 // Enable the Win32K process mitigation policy for renderer processes which |
976 // prevents them from invoking user32 and gdi32 system calls which enter | 967 // prevents them from invoking user32 and gdi32 system calls which enter |
977 // the kernel. This is only supported on Windows 8 and beyond. | 968 // the kernel. This is only supported on Windows 8 and beyond. |
978 const char kEnableWin32kRendererLockDown[] | 969 const char kEnableWin32kRendererLockDown[] |
979 = "enable_win32k_renderer_lockdown"; | 970 = "enable_win32k_renderer_lockdown"; |
980 #endif | 971 #endif |
981 | 972 |
982 // Don't dump stuff here, follow the same order as the header. | 973 // Don't dump stuff here, follow the same order as the header. |
983 | 974 |
984 } // namespace switches | 975 } // namespace switches |
OLD | NEW |