Supervised user whitelists: Cleanup
[chromium-blink-merge.git] / content / public / common / content_switches.h
bloba183e70e6257b11d2d004dd67891f346ecdf0e9d
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
3 // found in the LICENSE file.
5 // Defines all the "content" command-line switches.
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
10 #include "build/build_config.h"
11 #include "content/common/content_export.h"
13 namespace switches {
15 // All switches in alphabetical order. The switches should be documented
16 // alongside the definition of their values in the .cc file.
17 CONTENT_EXPORT extern const char kAcceleratedCanvas2dMSAASampleCount[];
18 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[];
19 CONTENT_EXPORT extern const char kAllowLoopbackInPeerConnection[];
20 CONTENT_EXPORT extern const char kAllowNoSandboxJob[];
21 CONTENT_EXPORT extern const char kAllowSandboxDebugging[];
22 extern const char kAuditAllHandles[];
23 extern const char kAuditHandles[];
24 CONTENT_EXPORT extern const char kBlinkSettings[];
25 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[];
26 CONTENT_EXPORT extern const char kBlockCrossSiteDocuments[];
27 CONTENT_EXPORT extern const char kBrowserCrashTest[];
28 CONTENT_EXPORT extern const char kBrowserSubprocessPath[];
29 extern const char kDebugPluginLoading[];
30 CONTENT_EXPORT extern const char kDefaultTileWidth[];
31 CONTENT_EXPORT extern const char kDefaultTileHeight[];
32 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[];
33 CONTENT_EXPORT extern const char kDisable3DAPIs[];
34 CONTENT_EXPORT extern const char kDisableBlinkFeatures[];
35 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[];
36 CONTENT_EXPORT extern const char kDisableAcceleratedJpegDecoding[];
37 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[];
38 extern const char kDisableBackingStoreLimit[];
39 CONTENT_EXPORT extern const char kDisablePreferCompositingToLCDText[];
40 CONTENT_EXPORT extern const char kDisableDatabases[];
41 CONTENT_EXPORT extern const char kDisableDelegatedRenderer[];
42 extern const char kDisableDirectNPAPIRequests[];
43 CONTENT_EXPORT extern const char kDisableDistanceFieldText[];
44 CONTENT_EXPORT extern const char kDisableDisplayList2dCanvas[];
45 extern const char kDisableDomainBlockingFor3DAPIs[];
46 CONTENT_EXPORT extern const char kDisableEncryptedMedia[];
47 CONTENT_EXPORT extern const char kDisableExperimentalWebGL[];
48 CONTENT_EXPORT extern const char kDisableFileSystem[];
49 CONTENT_EXPORT extern const char kDisableFlash3d[];
50 CONTENT_EXPORT extern const char kDisableFlashStage3d[];
51 CONTENT_EXPORT extern const char kDisableGpu[];
52 CONTENT_EXPORT extern const char kDisableGpuCompositing[];
53 CONTENT_EXPORT extern const char kDisableGpuEarlyInit[];
54 extern const char kDisableGpuProcessCrashLimit[];
55 CONTENT_EXPORT extern const char kDisableGpuRasterization[];
56 CONTENT_EXPORT extern const char kDisableGpuSandbox[];
57 CONTENT_EXPORT extern const char kDisableGpuWatchdog[];
58 CONTENT_EXPORT extern const char kDisableLowResTiling[];
59 CONTENT_EXPORT extern const char kDisableHangMonitor[];
60 CONTENT_EXPORT extern const char kDisableHideInactiveStackedTabCloseButtons[];
61 extern const char kDisableHistogramCustomizer[];
62 CONTENT_EXPORT extern const char kDisableImplSidePainting[];
63 CONTENT_EXPORT extern const char kDisableJava[];
64 CONTENT_EXPORT extern const char kDisableLCDText[];
65 CONTENT_EXPORT extern const char kDisablePrefixedEncryptedMedia[];
66 extern const char kDisableKillAfterBadIPC[];
67 CONTENT_EXPORT extern const char kDisableLocalStorage[];
68 CONTENT_EXPORT extern const char kDisableLogging[];
69 CONTENT_EXPORT extern const char kDisableMediaSource[];
70 CONTENT_EXPORT extern const char kDisableNamespaceSandbox[];
71 CONTENT_EXPORT extern const char kDisableNotifications[];
72 CONTENT_EXPORT extern const char kDisableOneCopy[];
73 extern const char kDisablePepper3d[];
74 CONTENT_EXPORT extern const char kDisablePinch[];
75 CONTENT_EXPORT extern const char kDisablePluginsDiscovery[];
76 CONTENT_EXPORT extern const char kDisableReadingFromCanvas[];
77 extern const char kDisableRemoteFonts[];
78 extern const char kDisableRendererAccessibility[];
79 CONTENT_EXPORT extern const char kDisableSeccompFilterSandbox[];
80 CONTENT_EXPORT extern const char kDisableSetuidSandbox[];
81 CONTENT_EXPORT extern const char kDisableSharedWorkers[];
82 CONTENT_EXPORT extern const char kDisableSingleThreadProxyScheduler[];
83 CONTENT_EXPORT extern const char kDisableSmoothScrolling[];
84 CONTENT_EXPORT extern const char kDisableSoftwareRasterizer[];
85 CONTENT_EXPORT extern const char kDisableSVG1DOM[];
86 CONTENT_EXPORT extern const char kDisableTextBlobs[];
87 CONTENT_EXPORT extern const char kDisableThreadedCompositing[];
88 CONTENT_EXPORT extern const char kDisableThreadedScrolling[];
89 extern const char kDisableV8IdleTasks[];
90 CONTENT_EXPORT extern const char kDisableWebSecurity[];
91 extern const char kDisableXSSAuditor[];
92 CONTENT_EXPORT extern const char kDomAutomationController[];
93 extern const char kEnable2dCanvasClipAntialiasing[];
94 CONTENT_EXPORT extern const char kEnableBleedingEdgeRenderingFastPaths[];
95 CONTENT_EXPORT extern const char kEnableCompositorAnimationTimelines[];
96 CONTENT_EXPORT extern const char kEnableCredentialManagerAPI[];
97 CONTENT_EXPORT extern const char kEnableBeginFrameScheduling[];
98 CONTENT_EXPORT extern const char kEnablePreferCompositingToLCDText[];
99 CONTENT_EXPORT extern const char kEnableBlinkFeatures[];
100 CONTENT_EXPORT extern const char kEnableBrowserSideNavigation[];
101 CONTENT_EXPORT extern const char kEnableDeferredImageDecoding[];
102 CONTENT_EXPORT extern const char kEnableDelayAgnosticAec[];
103 CONTENT_EXPORT extern const char kEnableDelegatedRenderer[];
104 CONTENT_EXPORT extern const char kEnableDisplayList2dCanvas[];
105 CONTENT_EXPORT extern const char kEnableDistanceFieldText[];
106 CONTENT_EXPORT extern const char kEnableDownloadResumption[];
107 CONTENT_EXPORT extern const char kEnableExperimentalCanvasFeatures[];
108 CONTENT_EXPORT extern const char kEnableExperimentalWebPlatformFeatures[];
109 extern const char kEnableGpuClientTracing[];
110 CONTENT_EXPORT extern const char kEnableGpuRasterization[];
111 CONTENT_EXPORT extern const char kGpuRasterizationMSAASampleCount[];
112 CONTENT_EXPORT extern const char kEnableLowResTiling[];
113 CONTENT_EXPORT extern const char kEnableImageColorProfiles[];
114 CONTENT_EXPORT extern const char kEnableLCDText[];
115 CONTENT_EXPORT extern const char kEnableLogging[];
116 extern const char kEnableMemoryBenchmarking[];
117 CONTENT_EXPORT extern const char kEnableNetworkInformation[];
118 CONTENT_EXPORT extern const char kEnableOneCopy[];
119 CONTENT_EXPORT extern const char kEnableOverlayFullscreenVideo[];
120 CONTENT_EXPORT extern const char kEnablePinch[];
121 CONTENT_EXPORT extern const char kEnablePreciseMemoryInfo[];
122 CONTENT_EXPORT extern const char kEnablePushMessagePayload[];
123 CONTENT_EXPORT extern const char kEnablePushMessagingHasPermission[];
124 CONTENT_EXPORT extern const char kEnableRegionBasedColumns[];
125 CONTENT_EXPORT extern const char kEnableSandboxLogging[];
126 CONTENT_EXPORT extern const char kEnableSeccompFilterSandbox[];
127 extern const char kEnableSkiaBenchmarking[];
128 CONTENT_EXPORT extern const char kEnableSlimmingPaint[];
129 CONTENT_EXPORT extern const char kEnableSmoothScrolling[];
130 CONTENT_EXPORT extern const char kEnableSpatialNavigation[];
131 CONTENT_EXPORT extern const char kEnableStaleWhileRevalidate[];
132 CONTENT_EXPORT extern const char kEnableStatsTable[];
133 CONTENT_EXPORT extern const char kEnableStrictMixedContentChecking[];
134 CONTENT_EXPORT extern const char kEnableStrictPowerfulFeatureRestrictions[];
135 CONTENT_EXPORT extern const char kEnableStrictSiteIsolation[];
136 CONTENT_EXPORT extern const char kEnableServiceWorkerSync[];
137 CONTENT_EXPORT extern const char kEnableTcpFastOpen[];
138 CONTENT_EXPORT extern const char kEnableThreadedCompositing[];
139 CONTENT_EXPORT extern const char kEnableTracing[];
140 CONTENT_EXPORT extern const char kEnableTracingOutput[];
141 CONTENT_EXPORT extern const char kEnableUserMediaScreenCapturing[];
142 CONTENT_EXPORT extern const char kEnableViewport[];
143 CONTENT_EXPORT extern const char kEnableViewportMeta[];
144 CONTENT_EXPORT extern const char kMainFrameResizesAreOrientationChanges[];
145 CONTENT_EXPORT extern const char kEnableVtune[];
146 CONTENT_EXPORT extern const char kEnableWebGLDraftExtensions[];
147 CONTENT_EXPORT extern const char kEnableWebGLImageChromium[];
148 CONTENT_EXPORT extern const char kEnableZeroCopy[];
149 CONTENT_EXPORT extern const char kExplicitlyAllowedPorts[];
150 CONTENT_EXPORT extern const char kExtraPluginDir[];
151 CONTENT_EXPORT extern const char kForceDisplayList2dCanvas[];
152 CONTENT_EXPORT extern const char kForceFieldTrials[];
153 CONTENT_EXPORT extern const char kForceGpuRasterization[];
154 CONTENT_EXPORT extern const char kForceRendererAccessibility[];
155 CONTENT_EXPORT extern const char kForceTextBlobs[];
156 extern const char kGpuDeviceID[];
157 extern const char kGpuDriverVendor[];
158 extern const char kGpuDriverVersion[];
159 extern const char kGpuLauncher[];
160 CONTENT_EXPORT extern const char kGpuProcess[];
161 CONTENT_EXPORT extern const char kGpuSandboxAllowSysVShm[];
162 CONTENT_EXPORT extern const char kGpuSandboxFailuresFatal[];
163 CONTENT_EXPORT extern const char kGpuSandboxStartEarly[];
164 CONTENT_EXPORT extern const char kGpuStartupDialog[];
165 extern const char kGpuVendorID[];
166 CONTENT_EXPORT extern const char kHostResolverRules[];
167 CONTENT_EXPORT extern const char kIgnoreCertificateErrors[];
168 CONTENT_EXPORT extern const char kIgnoreGpuBlacklist[];
169 extern const char kInProcessGPU[];
170 CONTENT_EXPORT extern const char kIPCConnectionTimeout[];
171 CONTENT_EXPORT extern const char kJavaScriptFlags[];
172 extern const char kLoadPlugin[];
173 CONTENT_EXPORT extern const char kLogGpuControlListDecisions[];
174 CONTENT_EXPORT extern const char kLoggingLevel[];
175 CONTENT_EXPORT extern const char kLogNetLog[];
176 extern const char kLogPluginMessages[];
177 extern const char kMaxUntiledLayerHeight[];
178 extern const char kMaxUntiledLayerWidth[];
179 extern const char kMemoryMetrics[];
180 CONTENT_EXPORT extern const char kMuteAudio[];
181 CONTENT_EXPORT extern const char kNoReferrers[];
182 CONTENT_EXPORT extern const char kNoSandbox[];
183 CONTENT_EXPORT extern const char kNumRasterThreads[];
184 CONTENT_EXPORT extern const char kOverscrollHistoryNavigation[];
185 extern const char kPluginLauncher[];
186 CONTENT_EXPORT extern const char kPluginPath[];
187 CONTENT_EXPORT extern const char kPluginProcess[];
188 extern const char kPluginStartupDialog[];
189 CONTENT_EXPORT extern const char kPpapiBrokerProcess[];
190 CONTENT_EXPORT extern const char kPpapiFlashArgs[];
191 CONTENT_EXPORT extern const char kPpapiInProcess[];
192 extern const char kPpapiPluginLauncher[];
193 CONTENT_EXPORT extern const char kPpapiPluginProcess[];
194 extern const char kPpapiStartupDialog[];
195 CONTENT_EXPORT extern const char kProcessPerSite[];
196 CONTENT_EXPORT extern const char kProcessPerTab[];
197 CONTENT_EXPORT extern const char kProcessType[];
198 CONTENT_EXPORT extern const char kReduceSecurityForTesting[];
199 CONTENT_EXPORT extern const char kReducedReferrerGranularity[];
200 CONTENT_EXPORT extern const char kRegisterPepperPlugins[];
201 CONTENT_EXPORT extern const char kRemoteDebuggingPort[];
202 extern const char kRendererCmdPrefix[];
203 CONTENT_EXPORT extern const char kRendererProcess[];
204 CONTENT_EXPORT extern const char kRendererProcessLimit[];
205 CONTENT_EXPORT extern const char kRendererStartupDialog[];
206 CONTENT_EXPORT extern const char kRootLayerScrolls[];
207 extern const char kSandboxIPCProcess[];
208 CONTENT_EXPORT extern const char kScrollEndEffect[];
209 extern const char kShowPaintRects[];
210 CONTENT_EXPORT extern const char kSingleProcess[];
211 CONTENT_EXPORT extern const char kSitePerProcess[];
212 CONTENT_EXPORT extern const char kSkipGpuDataLoading[];
213 CONTENT_EXPORT extern const char kStartFullscreen[];
214 CONTENT_EXPORT extern const char kStatsCollectionController[];
215 CONTENT_EXPORT extern const char kTabCaptureDownscaleQuality[];
216 CONTENT_EXPORT extern const char kTabCaptureUpscaleQuality[];
217 CONTENT_EXPORT extern const char kTestingFixedHttpPort[];
218 CONTENT_EXPORT extern const char kTestingFixedHttpsPort[];
219 CONTENT_EXPORT extern const char kTestType[];
220 CONTENT_EXPORT extern const char kTraceShutdown[];
221 extern const char kTraceShutdownFile[];
222 extern const char kTraceStartup[];
223 extern const char kTraceStartupDuration[];
224 extern const char kTraceStartupFile[];
225 CONTENT_EXPORT extern const char kTraceUploadURL[];
226 CONTENT_EXPORT extern const char kUIPrioritizeInGpuProcess[];
227 CONTENT_EXPORT extern const char kUseFakeUIForMediaStream[];
228 CONTENT_EXPORT extern const char kEnableNativeGpuMemoryBuffers[];
229 CONTENT_EXPORT extern const char kUseImageTextureTarget[];
230 CONTENT_EXPORT extern const char kUseMobileUserAgent[];
231 CONTENT_EXPORT extern const char kUseNormalPriorityForTileTaskWorkerThreads[];
232 extern const char kUseSurfaces[];
233 CONTENT_EXPORT extern const char kDisableSurfaces[];
234 extern const char kUtilityCmdPrefix[];
235 CONTENT_EXPORT extern const char kUtilityProcess[];
236 extern const char kUtilityProcessAllowedDir[];
237 CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[];
238 CONTENT_EXPORT extern const char kUtilityProcessRunningElevated[];
239 CONTENT_EXPORT extern const char kV8CacheOptions[];
240 CONTENT_EXPORT extern const char kV8NativesPassedByFD[];
241 CONTENT_EXPORT extern const char kV8SnapshotPassedByFD[];
242 CONTENT_EXPORT extern const char kValidateInputEventStream[];
243 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[];
244 CONTENT_EXPORT extern const char kZygoteCmdPrefix[];
245 CONTENT_EXPORT extern const char kZygoteProcess[];
247 #if defined(ENABLE_WEBRTC)
248 CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[];
249 CONTENT_EXPORT extern const char kDisableWebRtcEncryption[];
250 CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[];
251 CONTENT_EXPORT extern const char kEnableWebRtcHWH264Encoding[];
252 CONTENT_EXPORT extern const char kEnableWebRtcStunOrigin[];
253 extern const char kWebRtcMaxCaptureFramerate[];
254 #endif
256 #if defined(OS_ANDROID)
257 CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaPlayback[];
258 CONTENT_EXPORT extern const char kDisableClickDelay[];
259 CONTENT_EXPORT extern const char kDisableOverscrollEdgeEffect[];
260 CONTENT_EXPORT extern const char kDisablePullToRefreshEffect[];
261 CONTENT_EXPORT extern const char kDisableScreenOrientationLock[];
262 CONTENT_EXPORT extern const char kDisableWebRTC[];
263 CONTENT_EXPORT extern const char kHideScrollbars[];
264 extern const char kNetworkCountryIso[];
265 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[];
266 CONTENT_EXPORT extern const char kRendererWaitForJavaDebugger[];
267 #endif
269 CONTENT_EXPORT extern const char kDisableWebAudio[];
271 #if defined(OS_CHROMEOS)
272 CONTENT_EXPORT extern const char kDisablePanelFitting[];
273 CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[];
274 #endif
276 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
277 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[];
278 #endif
280 #if defined(OS_MACOSX) && !defined(OS_IOS)
281 extern const char kDisableCoreAnimationPlugins[];
282 extern const char kDisableThreadedEventHandlingMac[];
283 #endif
285 #if defined(OS_WIN)
286 // This switch contains the device scale factor passed to certain processes
287 // like renderers, etc.
288 CONTENT_EXPORT extern const char kDeviceScaleFactor[];
289 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[];
290 // This switch will be removed when we enable the win32K lockdown process
291 // mitigation.
292 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[];
293 CONTENT_EXPORT extern const char kEnableWin32kRendererLockDown[];
294 // Switch to uniquely identify names shared memory section for font cache
295 // across chromium flavors.
296 CONTENT_EXPORT extern const char kFontCacheSharedMemSuffix[];
297 CONTENT_EXPORT extern const char kTraceExportEventsToETW[];
298 #endif
300 CONTENT_EXPORT extern const char kEnableNpapi[];
302 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
303 // alphabetical order, or in one of the ifdefs (also in order in each section).
305 } // namespace switches
307 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_