OLD | NEW |
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 // Defines all the "content" command-line switches. | 5 // Defines all the "content" command-line switches. |
6 | 6 |
7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 7 #ifndef CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 8 #define CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "content/common/content_export.h" | 11 #include "content/common/content_export.h" |
12 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 // All switches in alphabetical order. The switches should be documented | 15 // All switches in alphabetical order. The switches should be documented |
16 // alongside the definition of their values in the .cc file. | 16 // alongside the definition of their values in the .cc file. |
17 CONTENT_EXPORT extern const char kAcceleratedCanvas2dMSAASampleCount[]; | 17 CONTENT_EXPORT extern const char kAcceleratedCanvas2dMSAASampleCount[]; |
18 CONTENT_EXPORT extern const char kAecRefinedAdaptiveFilter[]; | 18 CONTENT_EXPORT extern const char kAecRefinedAdaptiveFilter[]; |
19 CONTENT_EXPORT extern const char kAgcStartupMinVolume[]; | 19 CONTENT_EXPORT extern const char kAgcStartupMinVolume[]; |
20 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; | 20 CONTENT_EXPORT extern const char kAllowFileAccessFromFiles[]; |
21 CONTENT_EXPORT extern const char kAllowLoopbackInPeerConnection[]; | 21 CONTENT_EXPORT extern const char kAllowLoopbackInPeerConnection[]; |
22 CONTENT_EXPORT extern const char kAllowNoSandboxJob[]; | 22 CONTENT_EXPORT extern const char kAllowNoSandboxJob[]; |
23 CONTENT_EXPORT extern const char kAllowSandboxDebugging[]; | 23 CONTENT_EXPORT extern const char kAllowSandboxDebugging[]; |
24 CONTENT_EXPORT extern const char kAndroidFontsPath[]; | 24 CONTENT_EXPORT extern const char kAndroidFontsPath[]; |
25 CONTENT_EXPORT extern const char kBlinkSettings[]; | 25 CONTENT_EXPORT extern const char kBlinkSettings[]; |
26 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[]; | 26 CONTENT_EXPORT extern const char kBlinkPlatformLogChannels[]; |
27 CONTENT_EXPORT extern const char kBrowserCrashTest[]; | 27 CONTENT_EXPORT extern const char kBrowserCrashTest[]; |
28 CONTENT_EXPORT extern const char kBrowserSubprocessPath[]; | 28 CONTENT_EXPORT extern const char kBrowserSubprocessPath[]; |
29 CONTENT_EXPORT extern const char kUseCrossProcessFramesForGuests[]; | 29 CONTENT_EXPORT extern const char kUseCrossProcessFramesForGuests[]; |
30 CONTENT_EXPORT extern const char kDefaultTileWidth[]; | |
31 CONTENT_EXPORT extern const char kDefaultTileHeight[]; | |
32 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[]; | 30 CONTENT_EXPORT extern const char kDisable2dCanvasAntialiasing[]; |
33 CONTENT_EXPORT extern const char kDisable2dCanvasImageChromium[]; | 31 CONTENT_EXPORT extern const char kDisable2dCanvasImageChromium[]; |
34 CONTENT_EXPORT extern const char kDisable3DAPIs[]; | 32 CONTENT_EXPORT extern const char kDisable3DAPIs[]; |
35 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; | 33 CONTENT_EXPORT extern const char kDisableAccelerated2dCanvas[]; |
36 CONTENT_EXPORT extern const char kDisableAcceleratedJpegDecoding[]; | 34 CONTENT_EXPORT extern const char kDisableAcceleratedJpegDecoding[]; |
37 CONTENT_EXPORT extern const char kDisableAcceleratedMjpegDecode[]; | 35 CONTENT_EXPORT extern const char kDisableAcceleratedMjpegDecode[]; |
38 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; | 36 CONTENT_EXPORT extern const char kDisableAcceleratedVideoDecode[]; |
39 CONTENT_EXPORT extern const char kDisableAudioSupportForDesktopShare[]; | 37 CONTENT_EXPORT extern const char kDisableAudioSupportForDesktopShare[]; |
40 extern const char kDisableBackingStoreLimit[]; | 38 extern const char kDisableBackingStoreLimit[]; |
41 CONTENT_EXPORT extern const char | 39 CONTENT_EXPORT extern const char |
(...skipping 138 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
180 CONTENT_EXPORT extern const char kIgnoreGpuBlacklist[]; | 178 CONTENT_EXPORT extern const char kIgnoreGpuBlacklist[]; |
181 CONTENT_EXPORT extern const char kInertVisualViewport[]; | 179 CONTENT_EXPORT extern const char kInertVisualViewport[]; |
182 CONTENT_EXPORT extern const char kInProcessGPU[]; | 180 CONTENT_EXPORT extern const char kInProcessGPU[]; |
183 CONTENT_EXPORT extern const char kIPCConnectionTimeout[]; | 181 CONTENT_EXPORT extern const char kIPCConnectionTimeout[]; |
184 CONTENT_EXPORT extern const char kJavaScriptFlags[]; | 182 CONTENT_EXPORT extern const char kJavaScriptFlags[]; |
185 CONTENT_EXPORT extern const char kJavaScriptHarmony[]; | 183 CONTENT_EXPORT extern const char kJavaScriptHarmony[]; |
186 CONTENT_EXPORT extern const char kLogGpuControlListDecisions[]; | 184 CONTENT_EXPORT extern const char kLogGpuControlListDecisions[]; |
187 CONTENT_EXPORT extern const char kLoggingLevel[]; | 185 CONTENT_EXPORT extern const char kLoggingLevel[]; |
188 CONTENT_EXPORT extern const char kLogNetLog[]; | 186 CONTENT_EXPORT extern const char kLogNetLog[]; |
189 CONTENT_EXPORT extern const char kMainFrameResizesAreOrientationChanges[]; | 187 CONTENT_EXPORT extern const char kMainFrameResizesAreOrientationChanges[]; |
190 extern const char kMaxUntiledLayerHeight[]; | |
191 extern const char kMaxUntiledLayerWidth[]; | |
192 extern const char kMemoryMetrics[]; | 188 extern const char kMemoryMetrics[]; |
193 CONTENT_EXPORT extern const char kMHTMLGeneratorOption[]; | 189 CONTENT_EXPORT extern const char kMHTMLGeneratorOption[]; |
194 CONTENT_EXPORT extern const char kMHTMLSkipNostoreMain[]; | 190 CONTENT_EXPORT extern const char kMHTMLSkipNostoreMain[]; |
195 CONTENT_EXPORT extern const char kMHTMLSkipNostoreAll[]; | 191 CONTENT_EXPORT extern const char kMHTMLSkipNostoreAll[]; |
196 CONTENT_EXPORT extern const char kMojoLocalStorage[]; | 192 CONTENT_EXPORT extern const char kMojoLocalStorage[]; |
197 CONTENT_EXPORT extern const char kMuteAudio[]; | 193 CONTENT_EXPORT extern const char kMuteAudio[]; |
198 CONTENT_EXPORT extern const char kNoReferrers[]; | 194 CONTENT_EXPORT extern const char kNoReferrers[]; |
199 CONTENT_EXPORT extern const char kNoSandbox[]; | 195 CONTENT_EXPORT extern const char kNoSandbox[]; |
200 CONTENT_EXPORT extern const char kEnableAppContainer[]; | 196 CONTENT_EXPORT extern const char kEnableAppContainer[]; |
201 CONTENT_EXPORT extern const char kDisableAppContainer[]; | 197 CONTENT_EXPORT extern const char kDisableAppContainer[]; |
(...skipping 112 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
314 extern const char kIpcDumpDirectory[]; | 310 extern const char kIpcDumpDirectory[]; |
315 extern const char kIpcFuzzerTestcase[]; | 311 extern const char kIpcFuzzerTestcase[]; |
316 #endif | 312 #endif |
317 | 313 |
318 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 314 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
319 // alphabetical order, or in one of the ifdefs (also in order in each section). | 315 // alphabetical order, or in one of the ifdefs (also in order in each section). |
320 | 316 |
321 } // namespace switches | 317 } // namespace switches |
322 | 318 |
323 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ | 319 #endif // CONTENT_PUBLIC_COMMON_CONTENT_SWITCHES_H_ |
OLD | NEW |