Cast: Stop logging kVideoFrameSentToEncoder and rename a couple events.
[chromium-blink-merge.git] / content / public / common / content_switches.h
blob153bfc733b2f6f9b349dab4717ebe41903463861
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 kAllowInsecureWebSocketFromHttpsOrigin[];
20 CONTENT_EXPORT extern const char kAllowLoopbackInPeerConnection[];
21 CONTENT_EXPORT extern const char kAllowNoSandboxJob[];
22 extern const char kAllowSandboxDebugging[];
23 extern const char kAuditAllHandles[];
24 extern const char kAuditHandles[];
25 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[];
26 CONTENT_EXPORT extern const char kBlockCrossSiteDocuments[];
27 CONTENT_EXPORT extern const char kBrowserAssertTest[];
28 CONTENT_EXPORT extern const char kBrowserCrashTest[];
29 CONTENT_EXPORT extern const char kBrowserSubprocessPath[];
30 extern const char kDebugPluginLoading[];
31 CONTENT_EXPORT extern const char kDefaultTileWidth[];
32 CONTENT_EXPORT extern const char kDefaultTileHeight[];
33 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[];
34 CONTENT_EXPORT extern const char kDisable3DAPIs[];
35 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[];
36 CONTENT_EXPORT extern const char kDisableAcceleratedFixedRootBackground[];
37 CONTENT_EXPORT extern const char kDisableAcceleratedOverflowScroll[];
38 CONTENT_EXPORT extern const char kDisableLayerSquashing[];
39 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[];
40 CONTENT_EXPORT extern const char kDisableAltWinstation[];
41 CONTENT_EXPORT extern const char kDisableApplicationCache[];
42 extern const char kDisableBackingStoreLimit[];
43 CONTENT_EXPORT extern const char kDisableCompositingForFixedPosition[];
44 CONTENT_EXPORT extern const char kDisableCompositingForTransition[];
45 CONTENT_EXPORT extern const char kDisableDatabases[];
46 CONTENT_EXPORT extern const char kDisableDelegatedRenderer[];
47 extern const char kDisableDesktopNotifications[];
48 extern const char kDisableDirectNPAPIRequests[];
49 extern const char kDisableDomainBlockingFor3DAPIs[];
50 CONTENT_EXPORT extern const char kDisableEmbeddedSharedWorker[];
51 CONTENT_EXPORT extern const char kDisableExperimentalWebGL[];
52 CONTENT_EXPORT extern const char kDisableFastTextAutosizing[];
53 CONTENT_EXPORT extern const char kDisableFileSystem[];
54 CONTENT_EXPORT extern const char kDisableFiltersOverIPC[];
55 CONTENT_EXPORT extern const char kDisableFixedPositionCreatesStackingContext[];
56 CONTENT_EXPORT extern const char kDisableFlash3d[];
57 CONTENT_EXPORT extern const char kDisableFlashStage3d[];
58 CONTENT_EXPORT extern const char kDisableGestureTapHighlight[];
59 CONTENT_EXPORT extern const char kDisableGLMultisampling[];
60 CONTENT_EXPORT extern const char kDisableGpu[];
61 CONTENT_EXPORT extern const char kDisableGpuCompositing[];
62 extern const char kDisableGpuProcessCrashLimit[];
63 CONTENT_EXPORT extern const char kDisableGpuRasterization[];
64 CONTENT_EXPORT extern const char kDisableGpuSandbox[];
65 CONTENT_EXPORT extern const char kDisableGpuWatchdog[];
66 CONTENT_EXPORT extern const char kDisableLowResTiling[];
67 CONTENT_EXPORT extern const char kDisableHangMonitor[];
68 extern const char kDisableHistogramCustomizer[];
69 CONTENT_EXPORT extern const char kDisableImplSidePainting[];
70 CONTENT_EXPORT extern const char kDisableJava[];
71 CONTENT_EXPORT extern const char kDisableJavaScript[];
72 CONTENT_EXPORT extern const char kDisableLCDText[];
73 CONTENT_EXPORT extern const char kDisablePrefixedEncryptedMedia[];
74 extern const char kDisableKillAfterBadIPC[];
75 CONTENT_EXPORT extern const char kDisableLocalStorage[];
76 CONTENT_EXPORT extern const char kDisableLogging[];
77 CONTENT_EXPORT extern const char kDisableMediaSource[];
78 extern const char kDisableNavigatorContentUtils[];
79 extern const char kDisablePepper3d[];
80 CONTENT_EXPORT extern const char kDisablePinch[];
81 CONTENT_EXPORT extern const char kDisablePlugins[];
82 CONTENT_EXPORT extern const char kDisablePluginsDiscovery[];
83 extern const char kDisableRemoteFonts[];
84 extern const char kDisableRendererAccessibility[];
85 CONTENT_EXPORT extern const char kDisableRepaintAfterLayout[];
86 CONTENT_EXPORT extern const char kDisableSeccompFilterSandbox[];
87 extern const char kDisableSessionStorage[];
88 CONTENT_EXPORT extern const char kDisableSetuidSandbox[];
89 CONTENT_EXPORT extern const char kDisableSharedWorkers[];
90 extern const char kDisableSiteSpecificQuirks[];
91 CONTENT_EXPORT extern const char kDisableSmoothScrolling[];
92 CONTENT_EXPORT extern const char kDisableSoftwareRasterizer[];
93 CONTENT_EXPORT extern const char kDisableSpeechInput[];
94 CONTENT_EXPORT extern const char kDisableSSLFalseStart[];
95 CONTENT_EXPORT extern const char kDisableThreadedCompositing[];
96 CONTENT_EXPORT extern const char kDisableUniversalAcceleratedOverflowScroll[];
97 CONTENT_EXPORT extern const char kDisableWebSecurity[];
98 extern const char kDisableXSLT[];
99 extern const char kDisableXSSAuditor[];
100 CONTENT_EXPORT extern const char kDisableZeroCopy[];
101 CONTENT_EXPORT extern const char kDomAutomationController[];
102 CONTENT_EXPORT extern const char kEnableBleedingEdgeRenderingFastPaths[];
103 CONTENT_EXPORT extern const char kDisableDeferredFilters[];
104 CONTENT_EXPORT extern const char kEnableAcceleratedFixedRootBackground[];
105 CONTENT_EXPORT extern const char kEnableAcceleratedOverflowScroll[];
106 CONTENT_EXPORT extern const char kEnableLayerSquashing[];
107 CONTENT_EXPORT extern const char kEnableContainerCulling[];
108 extern const char kEnableAccessibilityLogging[];
109 CONTENT_EXPORT extern const char kEnableBeginFrameScheduling[];
110 CONTENT_EXPORT extern const char kEnableCompositingForFixedPosition[];
111 CONTENT_EXPORT extern const char kEnableCompositingForTransition[];
112 CONTENT_EXPORT extern const char kEnableDeferredImageDecoding[];
113 CONTENT_EXPORT extern const char kEnableDelegatedRenderer[];
114 CONTENT_EXPORT extern const char kEnableDownloadResumption[];
115 CONTENT_EXPORT extern const char kEnableEncryptedMedia[];
116 CONTENT_EXPORT extern const char kEnableExperimentalCanvasFeatures[];
117 CONTENT_EXPORT extern const char kEnableExperimentalWebPlatformFeatures[];
118 CONTENT_EXPORT extern const char kEnableFastTextAutosizing[];
119 CONTENT_EXPORT extern const char kEnableFileCookies[];
120 CONTENT_EXPORT extern const char kEnableFixedPositionCreatesStackingContext[];
121 CONTENT_EXPORT extern const char kEnableGestureTapHighlight[];
122 extern const char kEnableGpuClientTracing[];
123 CONTENT_EXPORT extern const char kEnableGpuRasterization[];
124 CONTENT_EXPORT extern const char kEnableLowResTiling[];
125 CONTENT_EXPORT extern const char kEnableHighDpiCompositingForFixedPosition[];
126 #if defined(OS_WIN)
127 CONTENT_EXPORT extern const char kDisableLegacyIntermediateWindow[];
128 CONTENT_EXPORT extern const char kEnableDirectWrite[];
129 CONTENT_EXPORT extern const char kEnableHighResolutionTime[];
130 #endif
131 CONTENT_EXPORT extern const char kEnableImplSidePainting[];
132 CONTENT_EXPORT extern const char kEnableInbandTextTracks[];
133 CONTENT_EXPORT extern const char kEnableLCDText[];
134 CONTENT_EXPORT extern const char kEnableLogging[];
135 extern const char kEnableMemoryBenchmarking[];
136 extern const char kEnableMonitorProfile[];
137 CONTENT_EXPORT extern const char kEnableOfflineCacheAccess[];
138 CONTENT_EXPORT extern const char kEnableOneCopy[];
139 CONTENT_EXPORT extern const char kEnableOverlayFullscreenVideo[];
140 CONTENT_EXPORT extern const char kDisableOverlayFullscreenVideoSubtitle[];
141 CONTENT_EXPORT extern const char kEnableOverscrollNotifications[];
142 CONTENT_EXPORT extern const char kEnablePinch[];
143 CONTENT_EXPORT extern const char kEnablePreciseMemoryInfo[];
144 extern const char kEnablePreparsedJsCaching[];
145 CONTENT_EXPORT extern const char kEnablePrivilegedWebGLExtensions[];
146 CONTENT_EXPORT extern const char kEnableRegionBasedColumns[];
147 CONTENT_EXPORT extern const char kEnableRepaintAfterLayout[];
148 CONTENT_EXPORT extern const char kEnableSandboxLogging[];
149 extern const char kEnableSeccompFilterSandbox[];
150 extern const char kEnableSkiaBenchmarking[];
151 CONTENT_EXPORT extern const char kEnableSmoothScrolling[];
152 CONTENT_EXPORT extern const char kEnableSpatialNavigation[];
153 CONTENT_EXPORT extern const char kEnableSpeechSynthesis[];
154 CONTENT_EXPORT extern const char kEnableStatsTable[];
155 extern const char kEnableStrictSiteIsolation[];
156 CONTENT_EXPORT extern const char kEnableServiceWorker[];
157 CONTENT_EXPORT extern const char kEnableServiceWorkerSync[];
158 CONTENT_EXPORT extern const char kEnableTargetedStyleRecalc[];
159 CONTENT_EXPORT extern const char kEnableTcpFastOpen[];
160 CONTENT_EXPORT extern const char kEnableThreadedCompositing[];
161 CONTENT_EXPORT extern const char kEnableUniversalAcceleratedOverflowScroll[];
162 CONTENT_EXPORT extern const char kEnableUserMediaScreenCapturing[];
163 CONTENT_EXPORT extern const char kEnableViewport[];
164 CONTENT_EXPORT extern const char kEnableViewportMeta[];
165 CONTENT_EXPORT extern const char kMainFrameResizesAreOrientationChanges[];
166 CONTENT_EXPORT extern const char kEnableVtune[];
167 extern const char kEnableWebAnimationsSVG[];
168 CONTENT_EXPORT extern const char kEnableWebGLDraftExtensions[];
169 CONTENT_EXPORT extern const char kEnableWebMIDI[];
170 CONTENT_EXPORT extern const char kEnableZeroCopy[];
171 CONTENT_EXPORT extern const char kExtraPluginDir[];
172 CONTENT_EXPORT extern const char kForceCompositingMode[];
173 CONTENT_EXPORT extern const char kForceFieldTrials[];
174 CONTENT_EXPORT extern const char kForceGpuRasterization[];
175 CONTENT_EXPORT extern const char kForceRendererAccessibility[];
176 extern const char kGpuDeviceID[];
177 extern const char kGpuDriverVendor[];
178 extern const char kGpuDriverVersion[];
179 extern const char kGpuLauncher[];
180 CONTENT_EXPORT extern const char kGpuProcess[];
181 CONTENT_EXPORT extern const char kGpuSandboxAllowSysVShm[];
182 CONTENT_EXPORT extern const char kGpuSandboxFailuresFatal[];
183 CONTENT_EXPORT extern const char kGpuSandboxStartAfterInitialization[];
184 CONTENT_EXPORT extern const char kGpuStartupDialog[];
185 extern const char kGpuVendorID[];
186 CONTENT_EXPORT extern const char kHostResolverRules[];
187 CONTENT_EXPORT extern const char kIgnoreCertificateErrors[];
188 CONTENT_EXPORT extern const char kIgnoreGpuBlacklist[];
189 extern const char kInProcessGPU[];
190 CONTENT_EXPORT extern const char kJavaScriptFlags[];
191 extern const char kLoadPlugin[];
192 CONTENT_EXPORT extern const char kLogGpuControlListDecisions[];
193 CONTENT_EXPORT extern const char kLoggingLevel[];
194 CONTENT_EXPORT extern const char kLogNetLog[];
195 extern const char kLogPluginMessages[];
196 extern const char kMaxUntiledLayerHeight[];
197 extern const char kMaxUntiledLayerWidth[];
198 extern const char kMemoryMetrics[];
199 CONTENT_EXPORT extern const char kMuteAudio[];
200 CONTENT_EXPORT extern const char kNoReferrers[];
201 CONTENT_EXPORT extern const char kNoSandbox[];
202 CONTENT_EXPORT extern const char kNumRasterThreads[];
203 CONTENT_EXPORT extern const char kOverscrollHistoryNavigation[];
204 extern const char kPluginLauncher[];
205 CONTENT_EXPORT extern const char kPluginPath[];
206 CONTENT_EXPORT extern const char kPluginProcess[];
207 extern const char kPluginStartupDialog[];
208 CONTENT_EXPORT extern const char kPpapiBrokerProcess[];
209 CONTENT_EXPORT extern const char kPpapiFlashArgs[];
210 CONTENT_EXPORT extern const char kPpapiInProcess[];
211 extern const char kPpapiPluginLauncher[];
212 CONTENT_EXPORT extern const char kPpapiPluginProcess[];
213 extern const char kPpapiStartupDialog[];
214 CONTENT_EXPORT extern const char kProcessPerSite[];
215 CONTENT_EXPORT extern const char kProcessPerTab[];
216 CONTENT_EXPORT extern const char kProcessType[];
217 CONTENT_EXPORT extern const char kReduceSecurityForTesting[];
218 CONTENT_EXPORT extern const char kRegisterPepperPlugins[];
219 CONTENT_EXPORT extern const char kRemoteDebuggingPort[];
220 CONTENT_EXPORT extern const char kRendererAssertTest[];
221 extern const char kRendererCmdPrefix[];
222 CONTENT_EXPORT extern const char kRendererProcess[];
223 CONTENT_EXPORT extern const char kRendererProcessLimit[];
224 CONTENT_EXPORT extern const char kRendererStartupDialog[];
225 extern const char kSandboxIPCProcess[];
226 CONTENT_EXPORT extern const char kScrollEndEffect[];
227 extern const char kShowPaintRects[];
228 CONTENT_EXPORT extern const char kSingleProcess[];
229 CONTENT_EXPORT extern const char kSitePerProcess[];
230 CONTENT_EXPORT extern const char kSkipGpuDataLoading[];
231 CONTENT_EXPORT extern const char kStartFullscreen[];
232 CONTENT_EXPORT extern const char kStatsCollectionController[];
233 CONTENT_EXPORT extern const char kTabCaptureDownscaleQuality[];
234 CONTENT_EXPORT extern const char kTabCaptureUpscaleQuality[];
235 CONTENT_EXPORT extern const char kTestingFixedHttpPort[];
236 CONTENT_EXPORT extern const char kTestingFixedHttpsPort[];
237 CONTENT_EXPORT extern const char kTestSandbox[];
238 CONTENT_EXPORT extern const char kTestType[];
239 CONTENT_EXPORT extern const char kTouchScrollingMode[];
240 CONTENT_EXPORT extern const char kTouchScrollingModeAsyncTouchmove[];
241 CONTENT_EXPORT extern const char kTouchScrollingModeSyncTouchmove[];
242 CONTENT_EXPORT extern const char kTouchScrollingModeTouchcancel[];
243 CONTENT_EXPORT extern const char kTraceShutdown[];
244 extern const char kTraceShutdownFile[];
245 extern const char kTraceStartup[];
246 extern const char kTraceStartupDuration[];
247 extern const char kTraceStartupFile[];
248 CONTENT_EXPORT extern const char kUIPrioritizeInGpuProcess[];
249 CONTENT_EXPORT extern const char kUseDiscardableMemory[];
250 CONTENT_EXPORT extern const char kUseFakeDeviceForMediaStream[];
251 CONTENT_EXPORT extern const char kUseFakeUIForMediaStream[];
252 CONTENT_EXPORT extern const char kUseMobileUserAgent[];
253 extern const char kUtilityCmdPrefix[];
254 CONTENT_EXPORT extern const char kUtilityProcess[];
255 extern const char kUtilityProcessAllowedDir[];
256 CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[];
257 CONTENT_EXPORT extern const char kUtilityProcessRunningElevated[];
258 CONTENT_EXPORT extern const char kValidateInputEventStream[];
259 CONTENT_EXPORT extern const char kWaitForDebuggerChildren[];
260 CONTENT_EXPORT extern const char kWebGLCommandBufferSizeKb[];
261 CONTENT_EXPORT extern const char kWorkerProcess[];
262 CONTENT_EXPORT extern const char kZygoteCmdPrefix[];
263 CONTENT_EXPORT extern const char kZygoteProcess[];
265 #if defined(ENABLE_WEBRTC)
266 CONTENT_EXPORT extern const char kEnableAudioTrackProcessing[];
267 CONTENT_EXPORT extern const char kDisableDeviceEnumeration[];
268 CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[];
269 CONTENT_EXPORT extern const char kDisableWebRtcEncryption[];
270 CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[];
271 extern const char kEnableWebRtcTcpServerSocket[];
272 CONTENT_EXPORT extern const char kEnableWebRtcHWVp8Encoding[];
273 #endif
275 #if defined(OS_ANDROID)
276 CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaFullscreen[];
277 CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaPlayback[];
278 extern const char kDisableMediaHistoryLogging[];
279 CONTENT_EXPORT extern const char kDisableClickDelay[];
280 CONTENT_EXPORT extern const char kDisableOverscrollEdgeEffect[];
281 CONTENT_EXPORT extern const char kDisableWebRTC[];
282 CONTENT_EXPORT extern const char kEnableSpeechRecognition[];
283 CONTENT_EXPORT extern const char kForceUseOverlayEmbeddedVideo[];
284 CONTENT_EXPORT extern const char kHideScrollbars[];
285 extern const char kNetworkCountryIso[];
286 CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[];
287 #endif
289 CONTENT_EXPORT extern const char kDisableWebAudio[];
291 #if defined(OS_CHROMEOS)
292 CONTENT_EXPORT extern const char kDisablePanelFitting[];
293 #endif
295 #if defined(OS_MACOSX) && !defined(OS_IOS)
296 extern const char kEnableCarbonInterposing[];
297 extern const char kDisableCoreAnimationPlugins[];
298 #endif
300 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
301 // alphabetical order, or in one of the ifdefs (also in order in each section).
303 } // namespace switches
305 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_