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 229 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
240 // For tests, disable single thread scheduler and only manually composite. | 240 // For tests, disable single thread scheduler and only manually composite. |
241 const char kDisableSingleThreadProxyScheduler[] = | 241 const char kDisableSingleThreadProxyScheduler[] = |
242 "disable-single-thread-proxy-scheduler"; | 242 "disable-single-thread-proxy-scheduler"; |
243 | 243 |
244 // Disable smooth scrolling for testing. | 244 // Disable smooth scrolling for testing. |
245 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 245 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
246 | 246 |
247 // Disables the use of a 3D software rasterizer. | 247 // Disables the use of a 3D software rasterizer. |
248 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 248 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
249 | 249 |
| 250 // Disables SVG 1.1 DOM. |
| 251 const char kDisableSVG1DOM[] = "disable-svg1dom"; |
| 252 |
250 // Disable multithreaded GPU compositing of web content. | 253 // Disable multithreaded GPU compositing of web content. |
251 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 254 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
252 | 255 |
253 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 256 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
254 const char kDisableWebSecurity[] = "disable-web-security"; | 257 const char kDisableWebSecurity[] = "disable-web-security"; |
255 | 258 |
256 // Disables support for XSLT. | 259 // Disables support for XSLT. |
257 const char kDisableXSLT[] = "disable-xslt"; | 260 const char kDisableXSLT[] = "disable-xslt"; |
258 | 261 |
259 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. | 262 // Disables Blink's XSSAuditor. The XSSAuditor mitigates reflective XSS. |
(...skipping 674 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
934 // Enable the Win32K process mitigation policy for renderer processes which | 937 // Enable the Win32K process mitigation policy for renderer processes which |
935 // prevents them from invoking user32 and gdi32 system calls which enter | 938 // prevents them from invoking user32 and gdi32 system calls which enter |
936 // the kernel. This is only supported on Windows 8 and beyond. | 939 // the kernel. This is only supported on Windows 8 and beyond. |
937 const char kEnableWin32kRendererLockDown[] | 940 const char kEnableWin32kRendererLockDown[] |
938 = "enable_win32k_renderer_lockdown"; | 941 = "enable_win32k_renderer_lockdown"; |
939 #endif | 942 #endif |
940 | 943 |
941 // Don't dump stuff here, follow the same order as the header. | 944 // Don't dump stuff here, follow the same order as the header. |
942 | 945 |
943 } // namespace switches | 946 } // namespace switches |
OLD | NEW |