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 228 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
239 | 239 |
240 // Disable session storage. | 240 // Disable session storage. |
241 const char kDisableSessionStorage[] = "disable-session-storage"; | 241 const char kDisableSessionStorage[] = "disable-session-storage"; |
242 | 242 |
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. | |
250 const char kDisableSingleThreadProxyScheduler[] = | |
251 "disable-single-thread-proxy-scheduler"; | |
252 | |
253 // Disables site-specific tailoring to compatibility issues in WebKit. | 249 // Disables site-specific tailoring to compatibility issues in WebKit. |
254 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; | 250 const char kDisableSiteSpecificQuirks[] = "disable-site-specific-quirks"; |
255 | 251 |
256 // Disable smooth scrolling for testing. | 252 // Disable smooth scrolling for testing. |
257 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 253 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
258 | 254 |
259 // Disables the use of a 3D software rasterizer. | 255 // Disables the use of a 3D software rasterizer. |
260 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 256 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
261 | 257 |
262 // Disable multithreaded GPU compositing of web content. | 258 // Disable multithreaded GPU compositing of web content. |
(...skipping 687 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 // Enable the Win32K process mitigation policy for renderer processes which | 946 // Enable the Win32K process mitigation policy for renderer processes which |
951 // prevents them from invoking user32 and gdi32 system calls which enter | 947 // prevents them from invoking user32 and gdi32 system calls which enter |
952 // the kernel. This is only supported on Windows 8 and beyond. | 948 // the kernel. This is only supported on Windows 8 and beyond. |
953 const char kEnableWin32kRendererLockDown[] | 949 const char kEnableWin32kRendererLockDown[] |
954 = "enable_win32k_renderer_lockdown"; | 950 = "enable_win32k_renderer_lockdown"; |
955 #endif | 951 #endif |
956 | 952 |
957 // Don't dump stuff here, follow the same order as the header. | 953 // Don't dump stuff here, follow the same order as the header. |
958 | 954 |
959 } // namespace switches | 955 } // namespace switches |
OLD | NEW |