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