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 219 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
230 | 230 |
231 // Disable session storage. | 231 // Disable session storage. |
232 const char kDisableSessionStorage[] = "disable-session-storage"; | 232 const char kDisableSessionStorage[] = "disable-session-storage"; |
233 | 233 |
234 // Disable the setuid sandbox (Linux only). | 234 // Disable the setuid sandbox (Linux only). |
235 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; | 235 const char kDisableSetuidSandbox[] = "disable-setuid-sandbox"; |
236 | 236 |
237 // Disable shared workers. | 237 // Disable shared workers. |
238 const char kDisableSharedWorkers[] = "disable-shared-workers"; | 238 const char kDisableSharedWorkers[] = "disable-shared-workers"; |
239 | 239 |
| 240 // For tests, disable single thread scheduler and only manually composite. |
| 241 const char kDisableSingleThreadProxyScheduler[] = |
| 242 "disable-single-thread-proxy-scheduler"; |
| 243 |
240 // Disable smooth scrolling for testing. | 244 // Disable smooth scrolling for testing. |
241 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 245 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
242 | 246 |
243 // Disables the use of a 3D software rasterizer. | 247 // Disables the use of a 3D software rasterizer. |
244 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 248 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
245 | 249 |
246 // Disable multithreaded GPU compositing of web content. | 250 // Disable multithreaded GPU compositing of web content. |
247 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 251 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
248 | 252 |
249 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 253 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
(...skipping 661 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
911 // Enable the Win32K process mitigation policy for renderer processes which | 915 // Enable the Win32K process mitigation policy for renderer processes which |
912 // prevents them from invoking user32 and gdi32 system calls which enter | 916 // prevents them from invoking user32 and gdi32 system calls which enter |
913 // the kernel. This is only supported on Windows 8 and beyond. | 917 // the kernel. This is only supported on Windows 8 and beyond. |
914 const char kEnableWin32kRendererLockDown[] | 918 const char kEnableWin32kRendererLockDown[] |
915 = "enable_win32k_renderer_lockdown"; | 919 = "enable_win32k_renderer_lockdown"; |
916 #endif | 920 #endif |
917 | 921 |
918 // Don't dump stuff here, follow the same order as the header. | 922 // Don't dump stuff here, follow the same order as the header. |
919 | 923 |
920 } // namespace switches | 924 } // namespace switches |
OLD | NEW |