Chromium Code Reviews| 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 412 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 423 | 423 |
| 424 #if defined(OS_WIN) | 424 #if defined(OS_WIN) |
| 425 // Disable the Legacy Window which corresponds to the size of the WebContents. | 425 // Disable the Legacy Window which corresponds to the size of the WebContents. |
| 426 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 426 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
| 427 | 427 |
| 428 // Enables the DirectWrite font rendering system on windows. | 428 // Enables the DirectWrite font rendering system on windows. |
| 429 const char kEnableDirectWrite[] = "enable-direct-write"; | 429 const char kEnableDirectWrite[] = "enable-direct-write"; |
| 430 | 430 |
| 431 // Use high resolution timers for TimeTicks. | 431 // Use high resolution timers for TimeTicks. |
| 432 const char kEnableHighResolutionTime[] = "enable-high-resolution-time"; | 432 const char kEnableHighResolutionTime[] = "enable-high-resolution-time"; |
| 433 | |
| 434 // Enable the GDI32 and USER32 process mitigation policy for renderer processes | |
| 435 // which prevents them from invoking user32 and gdi32 system calls which enter | |
| 436 // the kernel. This is only supported on Windows 8 and beyond. | |
| 437 const char kEnableGDIUser32RendererLockDown[] | |
| 438 = "enable_gdi_user32_renderer_lockdown"; | |
|
jschuh
2014/05/16 20:28:12
Could we just call these kEnableWin32kRendererLock
ananta
2014/05/16 21:12:18
Done.
| |
| 433 #endif | 439 #endif |
| 434 | 440 |
| 435 // Paint content on the compositor thread instead of the main thread. | 441 // Paint content on the compositor thread instead of the main thread. |
| 436 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; | 442 const char kEnableImplSidePainting[] = "enable-impl-side-painting"; |
| 437 | 443 |
| 438 // Enables support for inband text tracks in media content. | 444 // Enables support for inband text tracks in media content. |
| 439 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; | 445 const char kEnableInbandTextTracks[] = "enable-inband-text-tracks"; |
| 440 | 446 |
| 441 // Force logging to be enabled. Logging is disabled by default in release | 447 // Force logging to be enabled. Logging is disabled by default in release |
| 442 // builds. | 448 // builds. |
| (...skipping 553 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 996 | 1002 |
| 997 // Disables support for Core Animation plugins. This is triggered when | 1003 // Disables support for Core Animation plugins. This is triggered when |
| 998 // accelerated compositing is disabled. See http://crbug.com/122430 . | 1004 // accelerated compositing is disabled. See http://crbug.com/122430 . |
| 999 const char kDisableCoreAnimationPlugins[] = | 1005 const char kDisableCoreAnimationPlugins[] = |
| 1000 "disable-core-animation-plugins"; | 1006 "disable-core-animation-plugins"; |
| 1001 #endif | 1007 #endif |
| 1002 | 1008 |
| 1003 // Don't dump stuff here, follow the same order as the header. | 1009 // Don't dump stuff here, follow the same order as the header. |
| 1004 | 1010 |
| 1005 } // namespace switches | 1011 } // namespace switches |
| OLD | NEW |