| 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 920 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 931 #if defined(OS_WIN) | 931 #if defined(OS_WIN) |
| 932 // Device scale factor passed to certain processes like renderers, etc. | 932 // Device scale factor passed to certain processes like renderers, etc. |
| 933 const char kDeviceScaleFactor[] = "device-scale-factor"; | 933 const char kDeviceScaleFactor[] = "device-scale-factor"; |
| 934 | 934 |
| 935 // Disables the DirectWrite font rendering system on windows. | 935 // Disables the DirectWrite font rendering system on windows. |
| 936 const char kDisableDirectWrite[] = "disable-direct-write"; | 936 const char kDisableDirectWrite[] = "disable-direct-write"; |
| 937 | 937 |
| 938 // Disable the Legacy Window which corresponds to the size of the WebContents. | 938 // Disable the Legacy Window which corresponds to the size of the WebContents. |
| 939 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 939 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
| 940 | 940 |
| 941 // Use high resolution timers for TimeTicks. | |
| 942 const char kEnableHighResolutionTime[] = "enable-high-resolution-time"; | |
| 943 | |
| 944 // Enable the Win32K process mitigation policy for renderer processes which | 941 // Enable the Win32K process mitigation policy for renderer processes which |
| 945 // prevents them from invoking user32 and gdi32 system calls which enter | 942 // prevents them from invoking user32 and gdi32 system calls which enter |
| 946 // the kernel. This is only supported on Windows 8 and beyond. | 943 // the kernel. This is only supported on Windows 8 and beyond. |
| 947 const char kEnableWin32kRendererLockDown[] | 944 const char kEnableWin32kRendererLockDown[] |
| 948 = "enable_win32k_renderer_lockdown"; | 945 = "enable_win32k_renderer_lockdown"; |
| 949 #endif | 946 #endif |
| 950 | 947 |
| 951 // Don't dump stuff here, follow the same order as the header. | 948 // Don't dump stuff here, follow the same order as the header. |
| 952 | 949 |
| 953 } // namespace switches | 950 } // namespace switches |
| OLD | NEW |