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