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 948 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
959 // Disables support for Core Animation plugins. This is triggered when | 959 // Disables support for Core Animation plugins. This is triggered when |
960 // accelerated compositing is disabled. See http://crbug.com/122430 . | 960 // accelerated compositing is disabled. See http://crbug.com/122430 . |
961 const char kDisableCoreAnimationPlugins[] = | 961 const char kDisableCoreAnimationPlugins[] = |
962 "disable-core-animation-plugins"; | 962 "disable-core-animation-plugins"; |
963 #endif | 963 #endif |
964 | 964 |
965 #if defined(OS_WIN) | 965 #if defined(OS_WIN) |
966 // Device scale factor passed to certain processes like renderers, etc. | 966 // Device scale factor passed to certain processes like renderers, etc. |
967 const char kDeviceScaleFactor[] = "device-scale-factor"; | 967 const char kDeviceScaleFactor[] = "device-scale-factor"; |
968 | 968 |
| 969 // Disables the DirectWrite font rendering system on windows. |
| 970 const char kDisableDirectWrite[] = "disable-direct-write"; |
| 971 |
969 // Disable the Legacy Window which corresponds to the size of the WebContents. | 972 // Disable the Legacy Window which corresponds to the size of the WebContents. |
970 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 973 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
971 | 974 |
972 // Enables the DirectWrite font rendering system on windows. | |
973 const char kEnableDirectWrite[] = "enable-direct-write"; | |
974 | |
975 // Use high resolution timers for TimeTicks. | 975 // Use high resolution timers for TimeTicks. |
976 const char kEnableHighResolutionTime[] = "enable-high-resolution-time"; | 976 const char kEnableHighResolutionTime[] = "enable-high-resolution-time"; |
977 | 977 |
978 // Enable the Win32K process mitigation policy for renderer processes which | 978 // Enable the Win32K process mitigation policy for renderer processes which |
979 // prevents them from invoking user32 and gdi32 system calls which enter | 979 // prevents them from invoking user32 and gdi32 system calls which enter |
980 // the kernel. This is only supported on Windows 8 and beyond. | 980 // the kernel. This is only supported on Windows 8 and beyond. |
981 const char kEnableWin32kRendererLockDown[] | 981 const char kEnableWin32kRendererLockDown[] |
982 = "enable_win32k_renderer_lockdown"; | 982 = "enable_win32k_renderer_lockdown"; |
983 #endif | 983 #endif |
984 | 984 |
985 // Don't dump stuff here, follow the same order as the header. | 985 // Don't dump stuff here, follow the same order as the header. |
986 | 986 |
987 } // namespace switches | 987 } // namespace switches |
OLD | NEW |