PageRenderTime 66ms CodeModel.GetById 14ms RepoModel.GetById 1ms app.codeStats 0ms

/chromium/content/public/common/content_switches.h

https://gitlab.com/f3822/qtwebengine-chromium
C Header | 324 lines | 301 code | 14 blank | 9 comment | 2 complexity | 36302da733e1530ebd728a21e406842e MD5 | raw file
  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.
  4. // Defines all the "content" command-line switches.
  5. #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
  6. #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_
  7. #include "build/build_config.h"
  8. #include "content/common/content_export.h"
  9. namespace switches {
  10. // All switches in alphabetical order. The switches should be documented
  11. // alongside the definition of their values in the .cc file.
  12. CONTENT_EXPORT extern const char kAcceleratedCanvas2dMSAASampleCount[];
  13. CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[];
  14. CONTENT_EXPORT extern const char kAllowNoSandboxJob[];
  15. extern const char kAllowSandboxDebugging[];
  16. CONTENT_EXPORT extern const char kAllowWebUICompositing[];
  17. extern const char kAuditAllHandles[];
  18. extern const char kAuditHandles[];
  19. CONTENT_EXPORT extern const char kBlacklistAcceleratedCompositing[];
  20. CONTENT_EXPORT extern const char kBlacklistWebGL[];
  21. CONTENT_EXPORT extern const char kBlockCrossSiteDocuments[];
  22. CONTENT_EXPORT extern const char kBrowserAssertTest[];
  23. CONTENT_EXPORT extern const char kBrowserCrashTest[];
  24. CONTENT_EXPORT extern const char kBrowserSubprocessPath[];
  25. extern const char kDebugPluginLoading[];
  26. CONTENT_EXPORT extern const char kDefaultTileWidth[];
  27. CONTENT_EXPORT extern const char kDefaultTileHeight[];
  28. CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[];
  29. CONTENT_EXPORT extern const char kDisable3DAPIs[];
  30. CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[];
  31. CONTENT_EXPORT extern const char kDisableAcceleratedCompositing[];
  32. CONTENT_EXPORT extern const char kDisableAcceleratedFixedRootBackground[];
  33. CONTENT_EXPORT extern const char kDisableAcceleratedLayers[];
  34. CONTENT_EXPORT extern const char kDisableAcceleratedOverflowScroll[];
  35. CONTENT_EXPORT extern const char kDisableLayerSquashing[];
  36. CONTENT_EXPORT extern const char kDisableAcceleratedPlugins[];
  37. CONTENT_EXPORT extern const char kDisableAcceleratedScrollableFrames[];
  38. CONTENT_EXPORT extern const char kDisableAcceleratedVideo[];
  39. CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[];
  40. CONTENT_EXPORT extern const char kDisableAltWinstation[];
  41. CONTENT_EXPORT extern const char kDisableApplicationCache[];
  42. CONTENT_EXPORT extern const char kDisableAudio[];
  43. extern const char kDisableBackingStoreLimit[];
  44. CONTENT_EXPORT extern const char kDisableBrowserPluginCompositing[];
  45. CONTENT_EXPORT extern const char kDisableCompositedScrollingForFrames[];
  46. CONTENT_EXPORT extern const char kDisableCompositingForFixedPosition[];
  47. CONTENT_EXPORT extern const char kDisableCompositingForTransition[];
  48. CONTENT_EXPORT extern const char kDisableDatabases[];
  49. CONTENT_EXPORT extern const char kDisableDeadlineScheduling[];
  50. CONTENT_EXPORT extern const char kDisableDelegatedRenderer[];
  51. extern const char kDisableDesktopNotifications[];
  52. CONTENT_EXPORT extern const char kDisableDeviceMotion[];
  53. CONTENT_EXPORT extern const char kDisableDeviceOrientation[];
  54. extern const char kDisableDirectNPAPIRequests[];
  55. extern const char kDisableDomainBlockingFor3DAPIs[];
  56. CONTENT_EXPORT extern const char kDisableExperimentalWebGL[];
  57. CONTENT_EXPORT extern const char kDisableFileSystem[];
  58. CONTENT_EXPORT extern const char kDisableFiltersOverIPC[];
  59. CONTENT_EXPORT extern const char kDisableFixedPositionCreatesStackingContext[];
  60. CONTENT_EXPORT extern const char kDisableFlash3d[];
  61. CONTENT_EXPORT extern const char kDisableFlashStage3d[];
  62. CONTENT_EXPORT extern const char kDisableForceCompositingMode[];
  63. CONTENT_EXPORT extern const char kDisableFullScreen[];
  64. extern const char kDisableGeolocation[];
  65. extern const char kDisableGestureDebounce[];
  66. CONTENT_EXPORT extern const char kDisableGestureTapHighlight[];
  67. CONTENT_EXPORT extern const char kDisableGLMultisampling[];
  68. CONTENT_EXPORT extern const char kDisableGpu[];
  69. CONTENT_EXPORT extern const char kDisableGpuCompositing[];
  70. extern const char kDisableGpuProcessCrashLimit[];
  71. CONTENT_EXPORT extern const char kDisableGpuProcessPrelaunch[];
  72. CONTENT_EXPORT extern const char kDisableGpuSandbox[];
  73. CONTENT_EXPORT extern const char kDisableGpuWatchdog[];
  74. CONTENT_EXPORT extern const char kDisableHangMonitor[];
  75. extern const char kDisableHistogramCustomizer[];
  76. extern const char kDisableImageTransportSurface[];
  77. CONTENT_EXPORT extern const char kDisableJava[];
  78. CONTENT_EXPORT extern const char kDisableJavaScript[];
  79. CONTENT_EXPORT extern const char kDisablePrefixedEncryptedMedia[];
  80. extern const char kDisableKillAfterBadIPC[];
  81. CONTENT_EXPORT extern const char kDisableLocalStorage[];
  82. CONTENT_EXPORT extern const char kDisableLogging[];
  83. extern const char kDisableNavigatorContentUtils[];
  84. extern const char kDisableP2PSocketSTUNFilter[];
  85. extern const char kDisablePepper3d[];
  86. CONTENT_EXPORT extern const char kDisablePinch[];
  87. CONTENT_EXPORT extern const char kDisablePlugins[];
  88. CONTENT_EXPORT extern const char kDisablePluginsDiscovery[];
  89. extern const char kDisableRemoteFonts[];
  90. extern const char kDisableRendererAccessibility[];
  91. CONTENT_EXPORT extern const char kDisableSeccompFilterSandbox[];
  92. extern const char kDisableSessionStorage[];
  93. CONTENT_EXPORT extern const char kDisableSetuidSandbox[];
  94. CONTENT_EXPORT extern const char kDisableSharedWorkers[];
  95. extern const char kDisableSiteSpecificQuirks[];
  96. CONTENT_EXPORT extern const char kDisableSmoothScrolling[];
  97. CONTENT_EXPORT extern const char kDisableSoftwareRasterizer[];
  98. CONTENT_EXPORT extern const char kDisableSpeechInput[];
  99. CONTENT_EXPORT extern const char kDisableSSLFalseStart[];
  100. CONTENT_EXPORT extern const char kDisableThreadedCompositing[];
  101. CONTENT_EXPORT extern const char kDisableThreadedHTMLParser[];
  102. CONTENT_EXPORT extern const char kDisableUniversalAcceleratedOverflowScroll[];
  103. CONTENT_EXPORT extern const char kDisableUnprefixedMediaSource[];
  104. extern const char kDisableWebAnimationsCSS[];
  105. CONTENT_EXPORT extern const char kDisableWebKitMediaSource[];
  106. CONTENT_EXPORT extern const char kDisableWebSecurity[];
  107. extern const char kDisableXSLT[];
  108. extern const char kDisableXSSAuditor[];
  109. CONTENT_EXPORT extern const char kDomAutomationController[];
  110. CONTENT_EXPORT extern const char kEnableAcceleratedFilters[];
  111. CONTENT_EXPORT extern const char kEnableAcceleratedFixedRootBackground[];
  112. CONTENT_EXPORT extern const char kEnableAcceleratedOverflowScroll[];
  113. CONTENT_EXPORT extern const char kEnableLayerSquashing[];
  114. CONTENT_EXPORT extern const char kEnableAcceleratedScrollableFrames[];
  115. extern const char kEnableAccessibilityLogging[];
  116. CONTENT_EXPORT extern const char kEnableBeginFrameScheduling[];
  117. CONTENT_EXPORT extern const char kEnableBrowserPluginForAllViewTypes[];
  118. CONTENT_EXPORT extern const char kEnableBrowserPluginDragDrop[];
  119. CONTENT_EXPORT extern const char kEnableCompositedScrollingForFrames[];
  120. CONTENT_EXPORT extern const char kEnableCompositingForFixedPosition[];
  121. CONTENT_EXPORT extern const char kEnableCompositingForTransition[];
  122. CONTENT_EXPORT extern const char kEnableDeferredImageDecoding[];
  123. CONTENT_EXPORT extern const char kEnableDeadlineScheduling[];
  124. CONTENT_EXPORT extern const char kEnableDelegatedRenderer[];
  125. CONTENT_EXPORT extern const char kEnableDownloadResumption[];
  126. CONTENT_EXPORT extern const char kEnableEncryptedMedia[];
  127. CONTENT_EXPORT extern const char kEnableExperimentalCanvasFeatures[];
  128. CONTENT_EXPORT extern const char kEnableExperimentalWebPlatformFeatures[];
  129. CONTENT_EXPORT extern const char kEnableExperimentalWebSocket[];
  130. extern const char kEnableFastTextAutosizing[];
  131. CONTENT_EXPORT extern const char kEnableFixedPositionCreatesStackingContext[];
  132. CONTENT_EXPORT extern const char kEnableGestureTapHighlight[];
  133. extern const char kEnableGpuBenchmarking[];
  134. extern const char kEnableGpuClientTracing[];
  135. CONTENT_EXPORT extern const char kEnableHighDpiCompositingForFixedPosition[];
  136. #if defined(OS_WIN)
  137. CONTENT_EXPORT extern const char kEnableDirectWrite[];
  138. CONTENT_EXPORT extern const char kEnableHighResolutionTime[];
  139. #endif
  140. CONTENT_EXPORT extern const char kEnableHTMLImports[];
  141. CONTENT_EXPORT extern const char kEnableInbandTextTracks[];
  142. extern const char kEnableInputModeAttribute[];
  143. CONTENT_EXPORT extern const char kEnableLogging[];
  144. extern const char kEnableMemoryBenchmarking[];
  145. extern const char kEnableMonitorProfile[];
  146. CONTENT_EXPORT extern const char kEnableOfflineCacheAccess[];
  147. CONTENT_EXPORT extern const char kEnableOverlayFullscreenVideo[];
  148. CONTENT_EXPORT extern const char kEnableOverlayScrollbars[];
  149. CONTENT_EXPORT extern const char kEnableOverscrollNotifications[];
  150. CONTENT_EXPORT extern const char kEnablePinch[];
  151. extern const char kEnablePreparsedJsCaching[];
  152. CONTENT_EXPORT extern const char kEnablePrivilegedWebGLExtensions[];
  153. extern const char kEnablePruneGpuCommandBuffers[];
  154. CONTENT_EXPORT extern const char kEnableRegionBasedColumns[];
  155. CONTENT_EXPORT extern const char kEnableRepaintAfterLayout[];
  156. CONTENT_EXPORT extern const char kEnableSandboxLogging[];
  157. extern const char kEnableSkiaBenchmarking[];
  158. CONTENT_EXPORT extern const char kEnableSmoothScrolling[];
  159. CONTENT_EXPORT extern const char kEnableSoftwareCompositing[];
  160. CONTENT_EXPORT extern const char kEnableSpatialNavigation[];
  161. CONTENT_EXPORT extern const char kEnableSpeechSynthesis[];
  162. extern const char kEnableSSLCachedInfo[];
  163. CONTENT_EXPORT extern const char kEnableStatsTable[];
  164. extern const char kEnableStrictSiteIsolation[];
  165. CONTENT_EXPORT extern const char kEnableServiceWorker[];
  166. CONTENT_EXPORT extern const char kEnableTcpFastOpen[];
  167. CONTENT_EXPORT extern const char kEnableTextServicesFramework[];
  168. CONTENT_EXPORT extern const char kEnableThreadedCompositing[];
  169. CONTENT_EXPORT extern const char kEnableUniversalAcceleratedOverflowScroll[];
  170. CONTENT_EXPORT extern const char kEnableUserMediaScreenCapturing[];
  171. CONTENT_EXPORT extern const char kEnableViewport[];
  172. CONTENT_EXPORT extern const char kEnableViewportMeta[];
  173. CONTENT_EXPORT extern const char kMainFrameResizesAreOrientationChanges[];
  174. extern const char kEnableVisualWordMovement[];
  175. CONTENT_EXPORT extern const char kEnableVtune[];
  176. // FIXME: Remove this once Web Animations CSS is enabled by default in Blink.
  177. extern const char kEnableWebAnimationsCSS[];
  178. extern const char kEnableWebAnimationsSVG[];
  179. CONTENT_EXPORT extern const char kEnableWebGLDraftExtensions[];
  180. CONTENT_EXPORT extern const char kEnableWebMIDI[];
  181. CONTENT_EXPORT extern const char kExtraPluginDir[];
  182. CONTENT_EXPORT extern const char kForceCompositingMode[];
  183. CONTENT_EXPORT extern const char kForceFieldTrials[];
  184. CONTENT_EXPORT extern const char kForceRendererAccessibility[];
  185. extern const char kGpuDeviceID[];
  186. extern const char kGpuDriverVendor[];
  187. extern const char kGpuDriverVersion[];
  188. extern const char kGpuLauncher[];
  189. CONTENT_EXPORT extern const char kGpuProcess[];
  190. CONTENT_EXPORT extern const char kGpuSandboxAllowSysVShm[];
  191. CONTENT_EXPORT extern const char kGpuStartupDialog[];
  192. extern const char kGpuVendorID[];
  193. CONTENT_EXPORT extern const char kHostResolverRules[];
  194. CONTENT_EXPORT extern const char kIgnoreCertificateErrors[];
  195. CONTENT_EXPORT extern const char kIgnoreGpuBlacklist[];
  196. extern const char kInProcessGPU[];
  197. extern const char kInProcessPlugins[];
  198. CONTENT_EXPORT extern const char kJavaScriptFlags[];
  199. extern const char kLoadPlugin[];
  200. CONTENT_EXPORT extern const char kLogGpuControlListDecisions[];
  201. CONTENT_EXPORT extern const char kLoggingLevel[];
  202. CONTENT_EXPORT extern const char kLogNetLog[];
  203. extern const char kLogPluginMessages[];
  204. extern const char kMaxUntiledLayerHeight[];
  205. extern const char kMaxUntiledLayerWidth[];
  206. extern const char kMemoryMetrics[];
  207. CONTENT_EXPORT extern const char kMuteAudio[];
  208. CONTENT_EXPORT extern const char kNoReferrers[];
  209. CONTENT_EXPORT extern const char kNoSandbox[];
  210. CONTENT_EXPORT extern const char kOverscrollHistoryNavigation[];
  211. extern const char kPluginLauncher[];
  212. CONTENT_EXPORT extern const char kPluginPath[];
  213. CONTENT_EXPORT extern const char kPluginProcess[];
  214. extern const char kPluginStartupDialog[];
  215. CONTENT_EXPORT extern const char kPpapiBrokerProcess[];
  216. CONTENT_EXPORT extern const char kPpapiFlashArgs[];
  217. CONTENT_EXPORT extern const char kPpapiInProcess[];
  218. extern const char kPpapiPluginLauncher[];
  219. CONTENT_EXPORT extern const char kPpapiPluginProcess[];
  220. extern const char kPpapiStartupDialog[];
  221. CONTENT_EXPORT extern const char kProcessPerSite[];
  222. CONTENT_EXPORT extern const char kProcessPerTab[];
  223. CONTENT_EXPORT extern const char kProcessType[];
  224. extern const char kReduceGpuSandbox[];
  225. CONTENT_EXPORT extern const char kReduceSecurityForTesting[];
  226. CONTENT_EXPORT extern const char kRegisterPepperPlugins[];
  227. CONTENT_EXPORT extern const char kRemoteDebuggingPort[];
  228. CONTENT_EXPORT extern const char kRendererAssertTest[];
  229. extern const char kRendererCmdPrefix[];
  230. CONTENT_EXPORT extern const char kRendererProcess[];
  231. CONTENT_EXPORT extern const char kRendererProcessLimit[];
  232. CONTENT_EXPORT extern const char kRendererStartupDialog[];
  233. extern const char kSandboxIPCProcess[];
  234. CONTENT_EXPORT extern const char kScrollEndEffect[];
  235. extern const char kShowPaintRects[];
  236. CONTENT_EXPORT extern const char kSimulateTouchScreenWithMouse[];
  237. CONTENT_EXPORT extern const char kSingleProcess[];
  238. CONTENT_EXPORT extern const char kSitePerProcess[];
  239. CONTENT_EXPORT extern const char kSkipGpuDataLoading[];
  240. extern const char kSpeechRecognitionWebserviceKey[];
  241. CONTENT_EXPORT extern const char kStatsCollectionController[];
  242. CONTENT_EXPORT extern const char kTabCaptureDownscaleQuality[];
  243. CONTENT_EXPORT extern const char kTabCaptureUpscaleQuality[];
  244. CONTENT_EXPORT extern const char kTestingFixedHttpPort[];
  245. CONTENT_EXPORT extern const char kTestingFixedHttpsPort[];
  246. CONTENT_EXPORT extern const char kTestSandbox[];
  247. CONTENT_EXPORT extern const char kTouchAckTimeoutDelayMs[];
  248. CONTENT_EXPORT extern const char kTraceShutdown[];
  249. extern const char kTraceShutdownFile[];
  250. extern const char kTraceStartup[];
  251. extern const char kTraceStartupDuration[];
  252. extern const char kTraceStartupFile[];
  253. CONTENT_EXPORT extern const char kUIPrioritizeInGpuProcess[];
  254. CONTENT_EXPORT extern const char kUseFakeDeviceForMediaStream[];
  255. CONTENT_EXPORT extern const char kUseFakeUIForMediaStream[];
  256. CONTENT_EXPORT extern const char kUseGpuInTests[];
  257. CONTENT_EXPORT extern const char kUseMobileUserAgent[];
  258. CONTENT_EXPORT extern const char kUserAgent[];
  259. extern const char kUtilityCmdPrefix[];
  260. CONTENT_EXPORT extern const char kUtilityProcess[];
  261. extern const char kUtilityProcessAllowedDir[];
  262. CONTENT_EXPORT extern const char kUtilityProcessEnableMDns[];
  263. CONTENT_EXPORT extern const char kWaitForDebuggerChildren[];
  264. extern const char kWebCoreLogChannels[];
  265. CONTENT_EXPORT extern const char kWebGLCommandBufferSizeKb[];
  266. CONTENT_EXPORT extern const char kWorkerProcess[];
  267. CONTENT_EXPORT extern const char kZygoteCmdPrefix[];
  268. CONTENT_EXPORT extern const char kZygoteProcess[];
  269. #if defined(ENABLE_WEBRTC)
  270. CONTENT_EXPORT extern const char kEnableAudioTrackProcessing[];
  271. CONTENT_EXPORT extern const char kDisableDeviceEnumeration[];
  272. CONTENT_EXPORT extern const char kDisableSCTPDataChannels[];
  273. CONTENT_EXPORT extern const char kDisableWebRtcHWDecoding[];
  274. CONTENT_EXPORT extern const char kDisableWebRtcEncryption[];
  275. CONTENT_EXPORT extern const char kDisableWebRtcHWEncoding[];
  276. extern const char kEnableWebRtcAecRecordings[];
  277. extern const char kEnableWebRtcTcpServerSocket[];
  278. CONTENT_EXPORT extern const char kEnableWebRtcHWVp8Encoding[];
  279. #endif
  280. #if defined(OS_ANDROID)
  281. CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaFullscreen[];
  282. CONTENT_EXPORT extern const char kDisableGestureRequirementForMediaPlayback[];
  283. extern const char kDisableMediaHistoryLogging[];
  284. CONTENT_EXPORT extern const char kDisableOverscrollEdgeEffect[];
  285. CONTENT_EXPORT extern const char kDisableWebRTC[];
  286. CONTENT_EXPORT extern const char kEnableSpeechRecognition[];
  287. CONTENT_EXPORT extern const char kHideScrollbars[];
  288. extern const char kNetworkCountryIso[];
  289. CONTENT_EXPORT extern const char kRemoteDebuggingSocketName[];
  290. #endif
  291. #if defined(OS_ANDROID) && defined(ARCH_CPU_X86)
  292. CONTENT_EXPORT extern const char kEnableWebAudio[];
  293. #else
  294. CONTENT_EXPORT extern const char kDisableWebAudio[];
  295. #endif
  296. #if defined(OS_CHROMEOS)
  297. CONTENT_EXPORT extern const char kDisablePanelFitting[];
  298. #endif
  299. #if defined(OS_MACOSX) && !defined(OS_IOS)
  300. extern const char kDisableCarbonInterposing[];
  301. extern const char kDisableCoreAnimationPlugins[];
  302. CONTENT_EXPORT extern const char kUseCoreAnimation[];
  303. #endif
  304. #if defined(OS_POSIX)
  305. extern const char kChildCleanExit[];
  306. #endif
  307. // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in
  308. // alphabetical order, or in one of the ifdefs (also in order in each section).
  309. } // namespace switches
  310. #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_