Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(139)

Side by Side Diff: content/public/common/content_switches.cc

Issue 2306193002: Fix antialiasing ppapi settings, browser_tests in win32k lockdown (Closed)
Patch Set: no fatal Created 4 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "build/build_config.h" 5 #include "build/build_config.h"
6 #include "content/public/common/content_switches.h" 6 #include "content/public/common/content_switches.h"
7 7
8 namespace switches { 8 namespace switches {
9 9
10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to 10 // The number of MSAA samples for canvas2D. Requires MSAA support by GPU to
(...skipping 1055 matching lines...) Expand 10 before | Expand all | Expand 10 after
1066 // DirectWrite FontCache is shared by browser to renderers using shared memory. 1066 // DirectWrite FontCache is shared by browser to renderers using shared memory.
1067 // This switch allows us to pass the shared memory handle to the renderer. 1067 // This switch allows us to pass the shared memory handle to the renderer.
1068 const char kFontCacheSharedHandle[] = "font-cache-shared-handle"; 1068 const char kFontCacheSharedHandle[] = "font-cache-shared-handle";
1069 1069
1070 // Sets the free memory thresholds below which the system is considered to be 1070 // Sets the free memory thresholds below which the system is considered to be
1071 // under moderate and critical memory pressure. Used in the browser process, 1071 // under moderate and critical memory pressure. Used in the browser process,
1072 // and ignored if invalid. Specified as a pair of comma separated integers. 1072 // and ignored if invalid. Specified as a pair of comma separated integers.
1073 // See base/win/memory_pressure_monitor.cc for defaults. 1073 // See base/win/memory_pressure_monitor.cc for defaults.
1074 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb"; 1074 const char kMemoryPressureThresholdsMb[] = "memory-pressure-thresholds-mb";
1075 1075
1076 // The boolean value (0/1) of FontRenderParams::antialiasing to be passed to
1077 // Ppapi processes.
1078 const char kPpapiAntialiasedTextEnabled[] = "ppapi-antialiased-text-enabled";
1079
1080 // The enum value of FontRenderParams::subpixel_rendering to be passed to Ppapi
1081 // processes.
1082 const char kPpapiSubpixelRenderingSetting[] =
1083 "ppapi-subpixel-rendering-setting";
1084
1076 // Enables the exporting of the tracing events to ETW. This is only supported on 1085 // Enables the exporting of the tracing events to ETW. This is only supported on
1077 // Windows Vista and later. 1086 // Windows Vista and later.
1078 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw"; 1087 const char kTraceExportEventsToETW[] = "trace-export-events-to-etw";
1079 #endif 1088 #endif
1080 1089
1081 #if defined(ENABLE_IPC_FUZZER) 1090 #if defined(ENABLE_IPC_FUZZER)
1082 // Dumps IPC messages sent from renderer processes to the browser process to 1091 // Dumps IPC messages sent from renderer processes to the browser process to
1083 // the given directory. Used primarily to gather samples for IPC fuzzing. 1092 // the given directory. Used primarily to gather samples for IPC fuzzing.
1084 const char kIpcDumpDirectory[] = "ipc-dump-directory"; 1093 const char kIpcDumpDirectory[] = "ipc-dump-directory";
1085 1094
1086 // Specifies the testcase used by the IPC fuzzer. 1095 // Specifies the testcase used by the IPC fuzzer.
1087 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase"; 1096 const char kIpcFuzzerTestcase[] = "ipc-fuzzer-testcase";
1088 #endif 1097 #endif
1089 1098
1090 // Don't dump stuff here, follow the same order as the header. 1099 // Don't dump stuff here, follow the same order as the header.
1091 1100
1092 } // namespace switches 1101 } // namespace switches
OLDNEW
« no previous file with comments | « content/public/common/content_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698