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 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to | 9 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to |
10 // have an effect. 0 disables MSAA. | 10 // have an effect. 0 disables MSAA. |
(...skipping 939 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
950 // Device scale factor passed to certain processes like renderers, etc. | 950 // Device scale factor passed to certain processes like renderers, etc. |
951 const char kDeviceScaleFactor[] = "device-scale-factor"; | 951 const char kDeviceScaleFactor[] = "device-scale-factor"; |
952 | 952 |
953 // Disable the Legacy Window which corresponds to the size of the WebContents. | 953 // Disable the Legacy Window which corresponds to the size of the WebContents. |
954 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; | 954 const char kDisableLegacyIntermediateWindow[] = "disable-legacy-window"; |
955 | 955 |
956 // Disables the Win32K process mitigation policy for renderer processes. | 956 // Disables the Win32K process mitigation policy for renderer processes. |
957 const char kDisableWin32kRendererLockDown[] = | 957 const char kDisableWin32kRendererLockDown[] = |
958 "disable-win32k-renderer-lockdown"; | 958 "disable-win32k-renderer-lockdown"; |
959 | 959 |
| 960 // Enables the Win32K process mitigation policy for certain PPAPI mime |
| 961 // types. Each mime type is separated by a comma. Specify * to enable |
| 962 // the policy for all mime types. |
| 963 const char kEnableWin32kLockDownMimeTypes[] = |
| 964 "enable-win32k-lockdown-mimetypes"; |
| 965 |
960 // Enables experimental hardware acceleration for VP8/VP9 video decoding. | 966 // Enables experimental hardware acceleration for VP8/VP9 video decoding. |
961 const char kEnableAcceleratedVpxDecode[] = "enable-accelerated-vpx-decode"; | 967 const char kEnableAcceleratedVpxDecode[] = "enable-accelerated-vpx-decode"; |
962 | 968 |
963 // DirectWrite FontCache is shared by browser to renderers using shared memory. | 969 // DirectWrite FontCache is shared by browser to renderers using shared memory. |
964 // This switch allows us to pass the shared memory handle to the renderer. | 970 // This switch allows us to pass the shared memory handle to the renderer. |
965 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; | 971 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; |
966 | 972 |
967 // Sets the free memory thresholds below which the system is considered to be | 973 // Sets the free memory thresholds below which the system is considered to be |
968 // under moderate and critical memory pressure. Used in the browser process, | 974 // under moderate and critical memory pressure. Used in the browser process, |
969 // and ignored if invalid. Specified as a pair of comma separated integers. | 975 // and ignored if invalid. Specified as a pair of comma separated integers. |
970 // See base/win/memory_pressure_monitor.cc for defaults. | 976 // See base/win/memory_pressure_monitor.cc for defaults. |
971 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 977 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
972 | 978 |
973 // Enables the exporting of the tracing events to ETW. This is only supported on | 979 // Enables the exporting of the tracing events to ETW. This is only supported on |
974 // Windows Vista and later. | 980 // Windows Vista and later. |
975 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 981 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
976 #endif | 982 #endif |
977 | 983 |
978 // Don't dump stuff here, follow the same order as the header. | 984 // Don't dump stuff here, follow the same order as the header. |
979 | 985 |
980 } // namespace switches | 986 } // namespace switches |
OLD | NEW |