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 // Disable smooth scrolling for testing. | 249 // Disable smooth scrolling for testing. |
254 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 250 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
255 | 251 |
256 // Disables the use of a 3D software rasterizer. | 252 // Disables the use of a 3D software rasterizer. |
257 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 253 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
258 | 254 |
259 // Disable multithreaded GPU compositing of web content. | 255 // Disable multithreaded GPU compositing of web content. |
260 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 256 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
261 | 257 |
262 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 258 // 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... |
944 // Enable the Win32K process mitigation policy for renderer processes which | 940 // Enable the Win32K process mitigation policy for renderer processes which |
945 // prevents them from invoking user32 and gdi32 system calls which enter | 941 // prevents them from invoking user32 and gdi32 system calls which enter |
946 // the kernel. This is only supported on Windows 8 and beyond. | 942 // the kernel. This is only supported on Windows 8 and beyond. |
947 const char kEnableWin32kRendererLockDown[] | 943 const char kEnableWin32kRendererLockDown[] |
948 = "enable_win32k_renderer_lockdown"; | 944 = "enable_win32k_renderer_lockdown"; |
949 #endif | 945 #endif |
950 | 946 |
951 // Don't dump stuff here, follow the same order as the header. | 947 // Don't dump stuff here, follow the same order as the header. |
952 | 948 |
953 } // namespace switches | 949 } // namespace switches |
OLD | NEW |