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 968 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
979 | 979 |
980 // Enables or disables the Win32K process mitigation policy for renderer | 980 // Enables or disables the Win32K process mitigation policy for renderer |
981 // processes which prevents them from invoking user32 and gdi32 system calls | 981 // processes which prevents them from invoking user32 and gdi32 system calls |
982 // which enter the kernel. This is only supported on Windows 8 and beyond. | 982 // which enter the kernel. This is only supported on Windows 8 and beyond. |
983 const char kDisableWin32kRendererLockDown[] = | 983 const char kDisableWin32kRendererLockDown[] = |
984 "disable-win32k-renderer-lockdown"; | 984 "disable-win32k-renderer-lockdown"; |
985 const char kEnableWin32kRendererLockDown[] = | 985 const char kEnableWin32kRendererLockDown[] = |
986 "enable-win32k-renderer-lockdown"; | 986 "enable-win32k-renderer-lockdown"; |
987 | 987 |
988 // DirectWrite FontCache is shared by browser to renderers using shared memory. | 988 // DirectWrite FontCache is shared by browser to renderers using shared memory. |
989 // This switch allows specifying suffix to shared memory section name to avoid | 989 // This switch allows us to pass the shared memory handle to the renderer. |
990 // clashes between different instances of Chrome. | 990 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; |
991 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; | |
992 | 991 |
993 // 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 |
994 // Windows Vista and later. | 993 // Windows Vista and later. |
995 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 994 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
996 #endif | 995 #endif |
997 | 996 |
998 // Enables the use of NPAPI plugins. | 997 // Enables the use of NPAPI plugins. |
999 const char kEnableNpapi[] = "enable-npapi"; | 998 const char kEnableNpapi[] = "enable-npapi"; |
1000 | 999 |
1001 // 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. |
1002 | 1001 |
1003 } // namespace switches | 1002 } // namespace switches |
OLD | NEW |