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 232 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
243 | 243 |
244 // Disable smooth scrolling for testing. | 244 // Disable smooth scrolling for testing. |
245 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; | 245 const char kDisableSmoothScrolling[] = "disable-smooth-scrolling"; |
246 | 246 |
247 // Disables the use of a 3D software rasterizer. | 247 // Disables the use of a 3D software rasterizer. |
248 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; | 248 const char kDisableSoftwareRasterizer[] = "disable-software-rasterizer"; |
249 | 249 |
250 // Disable multithreaded GPU compositing of web content. | 250 // Disable multithreaded GPU compositing of web content. |
251 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; | 251 const char kDisableThreadedCompositing[] = "disable-threaded-compositing"; |
252 | 252 |
| 253 // Disable multithreaded, compositor scrolling of web content. |
| 254 const char kDisableThreadedScrolling[] = "disable-threaded-scrolling"; |
| 255 |
253 // Disable V8 idle notification after commit. | 256 // Disable V8 idle notification after commit. |
254 // Overrides kEnableV8IdleNotificationAfterCommit. | 257 // Overrides kEnableV8IdleNotificationAfterCommit. |
255 const char kDisableV8IdleNotificationAfterCommit[] = | 258 const char kDisableV8IdleNotificationAfterCommit[] = |
256 "disable-v8-idle-notification-after-commit"; | 259 "disable-v8-idle-notification-after-commit"; |
257 | 260 |
258 // Don't enforce the same-origin policy. (Used by people testing their sites.) | 261 // Don't enforce the same-origin policy. (Used by people testing their sites.) |
259 const char kDisableWebSecurity[] = "disable-web-security"; | 262 const char kDisableWebSecurity[] = "disable-web-security"; |
260 | 263 |
261 // Disables support for XSLT. | 264 // Disables support for XSLT. |
262 const char kDisableXSLT[] = "disable-xslt"; | 265 const char kDisableXSLT[] = "disable-xslt"; |
(...skipping 679 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 // Enable the Win32K process mitigation policy for renderer processes which | 945 // Enable the Win32K process mitigation policy for renderer processes which |
943 // prevents them from invoking user32 and gdi32 system calls which enter | 946 // prevents them from invoking user32 and gdi32 system calls which enter |
944 // the kernel. This is only supported on Windows 8 and beyond. | 947 // the kernel. This is only supported on Windows 8 and beyond. |
945 const char kEnableWin32kRendererLockDown[] | 948 const char kEnableWin32kRendererLockDown[] |
946 = "enable_win32k_renderer_lockdown"; | 949 = "enable_win32k_renderer_lockdown"; |
947 #endif | 950 #endif |
948 | 951 |
949 // Don't dump stuff here, follow the same order as the header. | 952 // Don't dump stuff here, follow the same order as the header. |
950 | 953 |
951 } // namespace switches | 954 } // namespace switches |
OLD | NEW |