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