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 931 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
942 // Disables support for Core Animation plugins. This is triggered when | 942 // Disables support for Core Animation plugins. This is triggered when |
943 // accelerated compositing is disabled. See http://crbug.com/122430 . | 943 // accelerated compositing is disabled. See http://crbug.com/122430 . |
944 const char kDisableCoreAnimationPlugins[] = | 944 const char kDisableCoreAnimationPlugins[] = |
945 "disable-core-animation-plugins"; | 945 "disable-core-animation-plugins"; |
946 #endif | 946 #endif |
947 | 947 |
948 #if defined(OS_WIN) | 948 #if defined(OS_WIN) |
949 // Device scale factor passed to certain processes like renderers, etc. | 949 // Device scale factor passed to certain processes like renderers, etc. |
950 const char kDeviceScaleFactor[] = "device-scale-factor"; | 950 const char kDeviceScaleFactor[] = "device-scale-factor"; |
951 | 951 |
952 // Disables the DirectWrite font rendering system on windows. | |
953 const char kDisableDirectWrite[] = "disable-direct-write"; | |
954 | |
955 // Disable the Legacy Window which corresponds to the size of the WebContents. | 952 // Disable the Legacy Window which corresponds to the size of the WebContents. |
956 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 953 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
957 | 954 |
958 // Enable the Win32K process mitigation policy for renderer processes which | 955 // Enable the Win32K process mitigation policy for renderer processes which |
959 // prevents them from invoking user32 and gdi32 system calls which enter | 956 // prevents them from invoking user32 and gdi32 system calls which enter |
960 // the kernel. This is only supported on Windows 8 and beyond. | 957 // the kernel. This is only supported on Windows 8 and beyond. |
961 const char kEnableWin32kRendererLockDown[] | 958 const char kEnableWin32kRendererLockDown[] |
962 = "enable_win32k_renderer_lockdown"; | 959 = "enable_win32k_renderer_lockdown"; |
963 #endif | 960 #endif |
964 | 961 |
965 #if defined(ENABLE_PLUGINS) | 962 #if defined(ENABLE_PLUGINS) |
966 // Enables the plugin power saver feature. | 963 // Enables the plugin power saver feature. |
967 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; | 964 const char kEnablePluginPowerSaver[] = "enable-plugin-power-saver"; |
968 #endif | 965 #endif |
969 | 966 |
970 // Don't dump stuff here, follow the same order as the header. | 967 // Don't dump stuff here, follow the same order as the header. |
971 | 968 |
972 } // namespace switches | 969 } // namespace switches |
OLD | NEW |