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 964 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
975 | 975 |
976 // Enables or disables the Win32K process mitigation policy for renderer | 976 // Enables or disables the Win32K process mitigation policy for renderer |
977 // processes which prevents them from invoking user32 and gdi32 system calls | 977 // processes which prevents them from invoking user32 and gdi32 system calls |
978 // which enter the kernel. This is only supported on Windows 8 and beyond. | 978 // which enter the kernel. This is only supported on Windows 8 and beyond. |
979 const char kDisableWin32kRendererLockDown[] = | 979 const char kDisableWin32kRendererLockDown[] = |
980 "disable-win32k-renderer-lockdown"; | 980 "disable-win32k-renderer-lockdown"; |
981 const char kEnableWin32kRendererLockDown[] = | 981 const char kEnableWin32kRendererLockDown[] = |
982 "enable-win32k-renderer-lockdown"; | 982 "enable-win32k-renderer-lockdown"; |
983 | 983 |
984 // DirectWrite FontCache is shared by browser to renderers using shared memory. | 984 // DirectWrite FontCache is shared by browser to renderers using shared memory. |
985 // This switch allows specifying suffix to shared memory section name to avoid | 985 // This switch allows us to pass the shared memory handle to the renderer. |
986 // clashes between different instances of Chrome. | 986 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; |
987 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; | |
988 | 987 |
989 // Sets the free memory thresholds below which the system is considered to be | 988 // Sets the free memory thresholds below which the system is considered to be |
990 // under moderate and critical memory pressure. Used in the browser process, | 989 // under moderate and critical memory pressure. Used in the browser process, |
991 // and ignored if invalid. Specified as a pair of comma separated integers. | 990 // and ignored if invalid. Specified as a pair of comma separated integers. |
992 // See base/win/memory_pressure_monitor.cc for defaults. | 991 // See base/win/memory_pressure_monitor.cc for defaults. |
993 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; | 992 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; |
994 | 993 |
995 // Enables the exporting of the tracing events to ETW. This is only supported on | 994 // Enables the exporting of the tracing events to ETW. This is only supported on |
996 // Windows Vista and later. | 995 // Windows Vista and later. |
997 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 996 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
998 #endif | 997 #endif |
999 | 998 |
1000 // Enables the use of NPAPI plugins. | 999 // Enables the use of NPAPI plugins. |
1001 const char kEnableNpapi[] = "enable-npapi"; | 1000 const char kEnableNpapi[] = "enable-npapi"; |
1002 | 1001 |
1003 // Don't dump stuff here, follow the same order as the header. | 1002 // Don't dump stuff here, follow the same order as the header. |
1004 | 1003 |
1005 } // namespace switches | 1004 } // namespace switches |
OLD | NEW |