Upstreaming browser/ui/uikit_ui_util from iOS.
[chromium-blink-merge.git] / content / public / common / content_switches.h
blob78fe3aeb836c342327781e0df104fc360a252946
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 CONTENT_EXPORT extern const char kBlinkSettings[];
23 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[];
24 CONTENT_EXPORT extern const char kBrowserCrashTest[];
25 CONTENT_EXPORT extern const char kBrowserSubprocessPath[];
26 extern const char kDebugPluginLoading[];
27 CONTENT_EXPORT extern const char kDefaultTileWidth[];
28 CONTENT_EXPORT extern const char kDefaultTileHeight[];
29 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[];
30 CONTENT_EXPORT extern const char kDisable3DAPIs[];
31 CONTENT_EXPORT extern const char kDisableBlinkFeatures[];
32 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[];
33 CONTENT_EXPORT extern const char kDisableAcceleratedJpegDecoding[];
34 CONTENT_EXPORT extern const char kDisableAcceleratedMjpegDecode[];
35 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[];
36 extern const char kDisableBackingStoreLimit[];
37 CONTENT_EXPORT extern const char kDisablePreferCompositingToLCDText[];
38 CONTENT_EXPORT extern const char kDisableDatabases[];
39 CONTENT_EXPORT extern const char kDisableDelayAgnosticAec[];
40 CONTENT_EXPORT extern const char kDisableDelegatedRenderer[];
41 extern const char kDisableDirectNPAPIRequests[];
42 CONTENT_EXPORT extern const char kDisableDistanceFieldText[];
43 CONTENT_EXPORT extern const char kDisableDisplayList2dCanvas[];
44 extern const char kDisableDomainBlockingFor3DAPIs[];
45 CONTENT_EXPORT extern const char kDisableEncryptedMedia[];
46 CONTENT_EXPORT extern const char kDisableExperimentalWebGL[];
47 CONTENT_EXPORT extern const char kDisableFileSystem[];
48 CONTENT_EXPORT extern const char kDisableFlash3d[];
49 CONTENT_EXPORT extern const char kDisableFlashStage3d[];
50 CONTENT_EXPORT extern const char kDisableGpu[];
51 CONTENT_EXPORT extern const char kDisableGpuCompositing[];
52 CONTENT_EXPORT extern const char kDisableGpuEarlyInit[];
53 extern const char kDisableGpuProcessCrashLimit[];
54 CONTENT_EXPORT extern const char kDisableGpuRasterization[];
55 CONTENT_EXPORT extern const char kDisableGpuSandbox[];
56 CONTENT_EXPORT extern const char kDisableGpuWatchdog[];
57 CONTENT_EXPORT extern const char kDisableLowResTiling[];
58 CONTENT_EXPORT extern const char kDisableHangMonitor[];
59 CONTENT_EXPORT extern const char kDisableHideInactiveStackedTabCloseButtons[];
60 extern const char kDisableHistogramCustomizer[];
61 CONTENT_EXPORT extern const char kDisableJava[];
62 CONTENT_EXPORT extern const char kDisableLCDText[];
63 CONTENT_EXPORT extern const char kDisablePrefixedEncryptedMedia[];
64 extern const char kDisableKillAfterBadIPC[];
65 CONTENT_EXPORT extern const char kDisableLocalStorage[];
66 CONTENT_EXPORT extern const char kDisableLogging[];
67 CONTENT_EXPORT extern const char kDisableMediaSource[];
68 CONTENT_EXPORT extern const char kDisableNamespaceSandbox[];
69 CONTENT_EXPORT extern const char kDisableNativeGpuMemoryBuffers[];
70 CONTENT_EXPORT extern const char kDisableNotifications[];
71 CONTENT_EXPORT extern const char kDisableOneCopy[];
72 extern const char kDisablePepper3d[];
73 CONTENT_EXPORT extern const char kDisablePinch[];
74 CONTENT_EXPORT extern const char kDisablePermissionsAPI[];
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 kDisableRendererBackgrounding[];
80 CONTENT_EXPORT extern const char kDisableSeccompFilterSandbox[];
81 CONTENT_EXPORT extern const char kDisableSetuidSandbox[];
82 CONTENT_EXPORT extern const char kDisableSharedWorkers[];
83 CONTENT_EXPORT extern const char kDisableSlimmingPaint[];
84 CONTENT_EXPORT extern const char kDisableSmoothScrolling[];
85 CONTENT_EXPORT extern const char kDisableSoftwareRasterizer[];
86 CONTENT_EXPORT extern const char kDisableSpeechAPI[];
87 CONTENT_EXPORT extern const char kDisableSVG1DOM[];
88 CONTENT_EXPORT extern const char kDisableTextBlobs[];
89 CONTENT_EXPORT extern const char kDisableThreadedCompositing[];
90 CONTENT_EXPORT extern const char kDisableThreadedScrolling[];
91 extern const char kDisableV8IdleTasks[];
92 CONTENT_EXPORT extern const char kDisableWebSecurity[];
93 extern const char kDisableXSSAuditor[];
94 CONTENT_EXPORT extern const char kDomAutomationController[];
95 extern const char kEnable2dCanvasClipAntialiasing[];
96 CONTENT_EXPORT extern const char kEnableAggressiveDOMStorageFlushing[];
97 CONTENT_EXPORT extern const char kEnableBleedingEdgeRenderingFastPaths[];
98 CONTENT_EXPORT extern const char kEnableCompositorAnimationTimelines[];
99 CONTENT_EXPORT extern const char kEnableCredentialManagerAPI[];
100 CONTENT_EXPORT extern const char kEnablePreferCompositingToLCDText[];
101 CONTENT_EXPORT extern const char kEnableBlinkFeatures[];
102 CONTENT_EXPORT extern const char kEnableBrowserSideNavigation[];
103 CONTENT_EXPORT extern const char kEnableDelayAgnosticAec[];
104 CONTENT_EXPORT extern const char kEnableDelegatedRenderer[];
105 CONTENT_EXPORT extern const char kEnableDisplayList2dCanvas[];
106 CONTENT_EXPORT extern const char kEnableDistanceFieldText[];
107 CONTENT_EXPORT extern const char kEnableDownloadResumption[];
108 CONTENT_EXPORT extern const char kEnableExperimentalCanvasFeatures[];
109 CONTENT_EXPORT extern const char kEnableExperimentalWebPlatformFeatures[];
110 CONTENT_EXPORT extern const char kEnableWebBluetooth[];
111 extern const char kEnableGpuClientTracing[];
112 CONTENT_EXPORT extern const char kEnableGpuRasterization[];
113 CONTENT_EXPORT extern const char kGpuRasterizationMSAASampleCount[];
114 CONTENT_EXPORT extern const char kEnableLowResTiling[];
115 CONTENT_EXPORT extern const char kEnableImageColorProfiles[];
116 CONTENT_EXPORT extern const char kEnableLCDText[];
117 CONTENT_EXPORT extern const char kEnableLogging[];
118 extern const char kEnableMemoryBenchmarking[];
119 CONTENT_EXPORT extern const char kEnableNetworkInformation[];
120 CONTENT_EXPORT extern const char kEnableOneCopy[];
121 CONTENT_EXPORT extern const char kEnableOverlayFullscreenVideo[];
122 CONTENT_EXPORT extern const char kEnablePinch[];
123 CONTENT_EXPORT extern const char kEnablePluginPlaceholderTesting[];
124 CONTENT_EXPORT extern const char kEnablePreciseMemoryInfo[];
125 CONTENT_EXPORT extern const char kEnablePushMessagePayload[];
126 CONTENT_EXPORT extern const char kEnableSandboxLogging[];
127 CONTENT_EXPORT extern const char kEnableSeccompFilterSandbox[];
128 extern const char kEnableSkiaBenchmarking[];
129 CONTENT_EXPORT extern const char kEnableSlimmingPaint[];
130 CONTENT_EXPORT extern const char kEnableSmoothScrolling[];
131 CONTENT_EXPORT extern const char kEnableSpatialNavigation[];
132 CONTENT_EXPORT extern const char kEnableStaleWhileRevalidate[];
133 CONTENT_EXPORT extern const char kEnableStatsTable[];
134 CONTENT_EXPORT extern const char kEnableStrictMixedContentChecking[];
135 CONTENT_EXPORT extern const char kEnableStrictPowerfulFeatureRestrictions[];
136 CONTENT_EXPORT extern const char kEnableTcpFastOpen[];
137 CONTENT_EXPORT extern const char kEnableThreadedCompositing[];
138 CONTENT_EXPORT extern const char kEnableTracing[];
139 CONTENT_EXPORT extern const char kEnableTracingOutput[];
140 CONTENT_EXPORT extern const char kEnableUserMediaScreenCapturing[];
141 CONTENT_EXPORT extern const char kEnableViewport[];
142 CONTENT_EXPORT extern const char kEnableViewportMeta[];
143 CONTENT_EXPORT extern const char kInvertViewportScrollOrder[];
144 CONTENT_EXPORT extern const char kEnableVtune[];
145 CONTENT_EXPORT extern const char kEnableWebGLDraftExtensions[];
146 CONTENT_EXPORT extern const char kEnableWebGLImageChromium[];
147 CONTENT_EXPORT extern const char kEnableWebVR[];
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 extern const char kGpuDeviceID[];
156 extern const char kGpuDriverVendor[];
157 extern const char kGpuDriverVersion[];
158 extern const char kGpuLauncher[];
159 CONTENT_EXPORT extern const char kGpuProcess[];
160 CONTENT_EXPORT extern const char kGpuSandboxAllowSysVShm[];
161 CONTENT_EXPORT extern const char kGpuSandboxFailuresFatal[];
162 CONTENT_EXPORT extern const char kGpuSandboxStartEarly[];
163 CONTENT_EXPORT extern const char kGpuStartupDialog[];
164 extern const char kGpuVendorID[];
165 CONTENT_EXPORT extern const char kHostResolverRules[];
166 CONTENT_EXPORT extern const char kIgnoreCertificateErrors[];
167 CONTENT_EXPORT extern const char kIgnoreGpuBlacklist[];
168 extern const char kInProcessGPU[];
169 CONTENT_EXPORT extern const char kIPCConnectionTimeout[];
170 CONTENT_EXPORT extern const char kJavaScriptFlags[];
171 extern const char kLoadPlugin[];
172 CONTENT_EXPORT extern const char kLogGpuControlListDecisions[];
173 CONTENT_EXPORT extern const char kLoggingLevel[];
174 CONTENT_EXPORT extern const char kLogNetLog[];
175 extern const char kLogPluginMessages[];
176 CONTENT_EXPORT extern const char kMainFrameResizesAreOrientationChanges[];
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 kEnableAppContainer[];
184 CONTENT_EXPORT extern const char kNumRasterThreads[];
185 CONTENT_EXPORT extern const char kOverridePluginPowerSaverForTesting[];
186 CONTENT_EXPORT extern const char kOverscrollHistoryNavigation[];
187 extern const char kPluginLauncher[];
188 CONTENT_EXPORT extern const char kPluginPath[];
189 CONTENT_EXPORT extern const char kPluginProcess[];
190 extern const char kPluginStartupDialog[];
191 CONTENT_EXPORT extern const char kPpapiBrokerProcess[];
192 CONTENT_EXPORT extern const char kPpapiFlashArgs[];
193 CONTENT_EXPORT extern const char kPpapiInProcess[];
194 extern const char kPpapiPluginLauncher[];
195 CONTENT_EXPORT extern const char kPpapiPluginProcess[];
196 extern const char kPpapiStartupDialog[];
197 CONTENT_EXPORT extern const char kProcessPerSite[];
198 CONTENT_EXPORT extern const char kProcessPerTab[];
199 CONTENT_EXPORT extern const char kProcessType[];
200 CONTENT_EXPORT extern const char kReduceSecurityForTesting[];
201 CONTENT_EXPORT extern const char kReducedReferrerGranularity[];
202 CONTENT_EXPORT extern const char kRegisterPepperPlugins[];
203 CONTENT_EXPORT extern const char kRemoteDebuggingPort[];
204 extern const char kRendererCmdPrefix[];
205 CONTENT_EXPORT extern const char kRendererProcess[];
206 CONTENT_EXPORT extern const char kRendererProcessLimit[];
207 CONTENT_EXPORT extern const char kRendererStartupDialog[];
208 CONTENT_EXPORT extern const char kRootLayerScrolls[];
209 extern const char kSandboxIPCProcess[];
210 CONTENT_EXPORT extern const char kScrollEndEffect[];
211 extern const char kShowPaintRects[];
212 CONTENT_EXPORT extern const char kSingleProcess[];
213 CONTENT_EXPORT extern const char kSitePerProcess[];
214 CONTENT_EXPORT extern const char kSkipGpuDataLoading[];
215 CONTENT_EXPORT extern const char kStartFullscreen[];
216 CONTENT_EXPORT extern const char kStatsCollectionController[];
217 CONTENT_EXPORT extern const char kTabCaptureDownscaleQuality[];
218 CONTENT_EXPORT extern const char kTabCaptureUpscaleQuality[];
219 CONTENT_EXPORT extern const char kTestingFixedHttpPort[];
220 CONTENT_EXPORT extern const char kTestingFixedHttpsPort[];
221 CONTENT_EXPORT extern const char kTestType[];
222 CONTENT_EXPORT extern const char kTouchTextSelectionStrategy[];
223 CONTENT_EXPORT extern const char kTraceShutdown[];
224 extern const char kTraceShutdownFile[];
225 extern const char kTraceStartup[];
226 extern const char kTraceStartupDuration[];
227 extern const char kTraceStartupFile[];
228 CONTENT_EXPORT extern const char kTraceUploadURL[];
229 CONTENT_EXPORT extern const char kUIPrioritizeInGpuProcess[];
230 CONTENT_EXPORT extern const char kUseFakeUIForMediaStream[];
231 CONTENT_EXPORT extern const char kEnableNativeGpuMemoryBuffers[];
232 CONTENT_EXPORT extern const char kContentImageTextureTarget[];
233 CONTENT_EXPORT extern const char kVideoImageTextureTarget[];
234 CONTENT_EXPORT extern const char kUseMobileUserAgent[];
235 CONTENT_EXPORT extern const char kUseNormalPriorityForTileTaskWorkerThreads[];
236 extern const char kUseSurfaces[];
237 CONTENT_EXPORT extern const char kDisableSurfaces[];
238 extern const char kUtilityCmdPrefix[];
239 CONTENT_EXPORT extern const char kUtilityProcess[];
240 extern const char kUtilityProcessAllowedDir[];
241 CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[];
242 CONTENT_EXPORT extern const char kUtilityProcessRunningElevated[];
243 CONTENT_EXPORT extern const char kV8CacheOptions[];
244 CONTENT_EXPORT extern const char kV8NativesPassedByFD[];
245 CONTENT_EXPORT extern const char kV8SnapshotPassedByFD[];
246 CONTENT_EXPORT extern const char kValidateInputEventStream[];
247 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[];
248 CONTENT_EXPORT extern const char kZygoteCmdPrefix[];
249 CONTENT_EXPORT extern const char kZygoteProcess[];
251 #if defined(ENABLE_WEBRTC)
252 CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[];
253 CONTENT_EXPORT extern const char kDisableWebRtcEncryption[];
254 CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[];
255 CONTENT_EXPORT extern const char kEnableWebRtcDtls12[];
256 CONTENT_EXPORT extern const char kEnableWebRtcHWH264Encoding[];
257 CONTENT_EXPORT extern const char kEnableWebRtcStunOrigin[];
258 CONTENT_EXPORT extern const char kWebRtcStunProbeTrialParameter[];
259 extern const char kWebRtcMaxCaptureFramerate[];
260 #endif
262 #if defined(OS_ANDROID)
263 CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaPlayback[];
264 CONTENT_EXPORT extern const char kDisableClickDelay[];
265 CONTENT_EXPORT extern const char kDisableOverscrollEdgeEffect[];
266 CONTENT_EXPORT extern const char kDisablePullToRefreshEffect[];
267 CONTENT_EXPORT extern const char kDisableScreenOrientationLock[];
268 CONTENT_EXPORT extern const char kDisableWebRTC[];
269 CONTENT_EXPORT extern const char kEnableAndroidCompositorAnimationTimelines[];
270 CONTENT_EXPORT extern const char kEnableLongpressDragSelection[];
271 CONTENT_EXPORT extern const char kHideScrollbars[];
272 extern const char kNetworkCountryIso[];
273 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[];
274 CONTENT_EXPORT extern const char kRendererWaitForJavaDebugger[];
275 #endif
277 CONTENT_EXPORT extern const char kDisableWebAudio[];
279 #if defined(OS_CHROMEOS)
280 CONTENT_EXPORT extern const char kDisablePanelFitting[];
281 CONTENT_EXPORT extern const char kDisableVaapiAcceleratedVideoEncode[];
282 #endif
284 #if defined(OS_LINUX) && !defined(OS_CHROMEOS)
285 CONTENT_EXPORT extern const char kEnableSpeechDispatcher[];
286 #endif
288 #if defined(OS_MACOSX) && !defined(OS_IOS)
289 extern const char kDisableCoreAnimationPlugins[];
290 extern const char kDisableThreadedEventHandlingMac[];
291 #endif
293 #if defined(OS_WIN)
294 // This switch contains the device scale factor passed to certain processes
295 // like renderers, etc.
296 CONTENT_EXPORT extern const char kDeviceScaleFactor[];
297 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[];
298 CONTENT_EXPORT extern const char kDisableWin32kRendererLockDown[];
299 CONTENT_EXPORT extern const char kEnableAcceleratedVpxDecode[];
300 // Switch to pass the font cache shared memory handle to the renderer.
301 CONTENT_EXPORT extern const char kFontCacheSharedHandle[];
302 CONTENT_EXPORT extern const char kMemoryPressureThresholdsMb[];
303 CONTENT_EXPORT extern const char kTraceExportEventsToETW[];
304 #endif
306 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
307 // alphabetical order, or in one of the ifdefs (also in order in each section).
309 } // namespace switches
311 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_