| 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 961 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 972 | 972 |
| 973 // Enables or disables the Win32K process mitigation policy for renderer | 973 // Enables or disables the Win32K process mitigation policy for renderer |
| 974 // processes which prevents them from invoking user32 and gdi32 system calls | 974 // processes which prevents them from invoking user32 and gdi32 system calls |
| 975 // which enter the kernel. This is only supported on Windows 8 and beyond. | 975 // which enter the kernel. This is only supported on Windows 8 and beyond. |
| 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 us to pass the shared memory handle to the renderer. |
| 983 // clashes between different instances of Chrome. | 983 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; |
| 984 const char kFontCacheSharedMemSuffix[] = "font-cache-shared-mem-suffix"; | |
| 985 | 984 |
| 986 // Enables the exporting of the tracing events to ETW. This is only supported on | 985 // Enables the exporting of the tracing events to ETW. This is only supported on |
| 987 // Windows Vista and later. | 986 // Windows Vista and later. |
| 988 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; | 987 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; |
| 989 #endif | 988 #endif |
| 990 | 989 |
| 991 // Enables the use of NPAPI plugins. | 990 // Enables the use of NPAPI plugins. |
| 992 const char kEnableNpapi[] = "enable-npapi"; | 991 const char kEnableNpapi[] = "enable-npapi"; |
| 993 | 992 |
| 994 // Don't dump stuff here, follow the same order as the header. | 993 // Don't dump stuff here, follow the same order as the header. |
| 995 | 994 |
| 996 } // namespace switches | 995 } // namespace switches |
| OLD | NEW |