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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 // Disable the setuid sandbox (Linux only). | 243 // Disable the setuid sandbox (Linux only). |
244 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; | 244 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; |
245 | 245 |
246 // Disable shared workers. | 246 // Disable shared workers. |
247 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 247 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
248 | 248 |
249 // For tests, disable single thread scheduler and only manually composite. | 249 // For tests, disable single thread scheduler and only manually composite. |
250 const char kDisableSingleThreadProxyScheduler[] = | 250 const char kDisableSingleThreadProxyScheduler[] = |
251 "disable-single-thread-proxy-scheduler"; | 251 "disable-single-thread-proxy-scheduler"; |
252 | 252 |
253 // Disables site-specific tailoring to compatibility issues in WebKit. | |
254 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | |
255 | |
256 // Disable smooth scrolling for testing. | 253 // Disable smooth scrolling for testing. |
257 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 254 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
258 | 255 |
259 // Disables the use of a 3D software rasterizer. | 256 // Disables the use of a 3D software rasterizer. |
260 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 257 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
261 | 258 |
262 // Disable multithreaded GPU compositing of web content. | 259 // Disable multithreaded GPU compositing of web content. |
263 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 260 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
264 | 261 |
265 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 262 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
(...skipping 681 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
947 // Enable the Win32K process mitigation policy for renderer processes which | 944 // Enable the Win32K process mitigation policy for renderer processes which |
948 // prevents them from invoking user32 and gdi32 system calls which enter | 945 // prevents them from invoking user32 and gdi32 system calls which enter |
949 // the kernel. This is only supported on Windows 8 and beyond. | 946 // the kernel. This is only supported on Windows 8 and beyond. |
950 const char kEnableWin32kRendererLockDown[] | 947 const char kEnableWin32kRendererLockDown[] |
951 = "enable_win32k_renderer_lockdown"; | 948 = "enable_win32k_renderer_lockdown"; |
952 #endif | 949 #endif |
953 | 950 |
954 // Don't dump stuff here, follow the same order as the header. | 951 // Don't dump stuff here, follow the same order as the header. |
955 | 952 |
956 } // namespace switches | 953 } // namespace switches |
OLD | NEW |