|
1 // Copyright (c) 2006-2009 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 |
|
5 // Defines all the command-line switches used by Chrome. |
|
6 |
|
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H__ |
|
8 #define CHROME_COMMON_CHROME_SWITCHES_H__ |
|
9 |
|
10 #include "base/base_switches.h" |
|
11 |
|
12 namespace switches { |
|
13 |
|
14 extern const wchar_t kDisableHangMonitor[]; |
|
15 extern const wchar_t kDisableMetrics[]; |
|
16 extern const wchar_t kMetricsRecordingOnly[]; |
|
17 extern const wchar_t kBrowserAssertTest[]; |
|
18 extern const wchar_t kRendererAssertTest[]; |
|
19 extern const wchar_t kBrowserCrashTest[]; |
|
20 extern const wchar_t kRendererCrashTest[]; |
|
21 extern const wchar_t kRendererStartupDialog[]; |
|
22 extern const wchar_t kPluginStartupDialog[]; |
|
23 extern const wchar_t kPluginLauncher[]; |
|
24 |
|
25 extern const wchar_t kProcessChannelID[]; |
|
26 extern const wchar_t kTestingChannelID[]; |
|
27 extern const wchar_t kHomePage[]; |
|
28 extern const wchar_t kRendererProcess[]; |
|
29 extern const wchar_t kBrowserSubprocessPath[]; |
|
30 extern const wchar_t kPluginProcess[]; |
|
31 extern const wchar_t kWorkerProcess[]; |
|
32 extern const wchar_t kSingleProcess[]; |
|
33 extern const wchar_t kProcessPerTab[]; |
|
34 extern const wchar_t kProcessPerSite[]; |
|
35 extern const wchar_t kInProcessPlugins[]; |
|
36 extern const wchar_t kNoSandbox[]; |
|
37 extern const wchar_t kSafePlugins[]; |
|
38 extern const wchar_t kTrustedPlugins[]; |
|
39 extern const wchar_t kTestSandbox[]; |
|
40 extern const wchar_t kUserDataDir[]; |
|
41 extern const wchar_t kPluginDataDir[]; |
|
42 extern const wchar_t kDiskCacheDir[]; |
|
43 extern const wchar_t kEnableUserDataDirProfiles[]; |
|
44 extern const wchar_t kParentProfile[]; |
|
45 extern const wchar_t kApp[]; |
|
46 extern const wchar_t kDomAutomationController[]; |
|
47 extern const wchar_t kPluginPath[]; |
|
48 extern const wchar_t kUserAgent[]; |
|
49 extern const wchar_t kJavaScriptFlags[]; |
|
50 extern const wchar_t kCountry[]; |
|
51 extern const wchar_t kLang[]; |
|
52 extern const wchar_t kDebugChildren[]; |
|
53 extern const wchar_t kWaitForDebuggerChildren[]; |
|
54 |
|
55 extern const wchar_t kLogFilterPrefix[]; |
|
56 extern const wchar_t kEnableLogging[]; |
|
57 extern const wchar_t kLoggingLevel[]; |
|
58 extern const wchar_t kLogPluginMessages[]; |
|
59 |
|
60 extern const wchar_t kDumpHistogramsOnExit[]; |
|
61 extern const wchar_t kDisableLogging[]; |
|
62 extern const wchar_t kRemoteShellPort[]; |
|
63 extern const wchar_t kUninstall[]; |
|
64 extern const wchar_t kOmniBoxPopupCount[]; |
|
65 |
|
66 extern const wchar_t kAutomationClientChannelID[]; |
|
67 |
|
68 extern const wchar_t kRestoreLastSession[]; |
|
69 |
|
70 extern const wchar_t kRecordMode[]; |
|
71 extern const wchar_t kPlaybackMode[]; |
|
72 extern const wchar_t kNoEvents[]; |
|
73 extern const wchar_t kNoJsRandomness[]; |
|
74 |
|
75 extern const wchar_t kHideIcons[]; |
|
76 extern const wchar_t kShowIcons[]; |
|
77 extern const wchar_t kMakeDefaultBrowser[]; |
|
78 |
|
79 extern const wchar_t kProxyServer[]; |
|
80 extern const wchar_t kWinHttpProxyResolver[]; |
|
81 extern const wchar_t kDebugPrint[]; |
|
82 |
|
83 extern const wchar_t kDnsLogDetails[]; |
|
84 extern const wchar_t kDnsPrefetchDisable[]; |
|
85 |
|
86 extern const wchar_t kAllowAllActiveX[]; |
|
87 |
|
88 extern const wchar_t kDisableDevTools[]; |
|
89 extern const wchar_t kAlwaysEnableDevTools[]; |
|
90 |
|
91 extern const wchar_t kTabCountToLoadOnSessionRestore[]; |
|
92 |
|
93 extern const wchar_t kMemoryProfiling[]; |
|
94 extern const wchar_t kMemoryModel[]; |
|
95 |
|
96 extern const wchar_t kEnableFileCookies[]; |
|
97 |
|
98 extern const wchar_t kStartMaximized[]; |
|
99 |
|
100 extern const wchar_t kEnableWatchdog[]; |
|
101 |
|
102 extern const wchar_t kFirstRun[]; |
|
103 |
|
104 extern const wchar_t kNoFirstRun[]; |
|
105 |
|
106 extern const wchar_t kMessageLoopHistogrammer[]; |
|
107 |
|
108 extern const wchar_t kImport[]; |
|
109 |
|
110 extern const wchar_t kSilentDumpOnDCHECK[]; |
|
111 |
|
112 extern const wchar_t kDisablePromptOnRepost[]; |
|
113 |
|
114 extern const wchar_t kDisablePopupBlocking[]; |
|
115 extern const wchar_t kDisableJavaScript[]; |
|
116 extern const wchar_t kDisableJava[]; |
|
117 extern const wchar_t kDisablePlugins[]; |
|
118 extern const wchar_t kDisableImages[]; |
|
119 extern const wchar_t kDisableWebSecurity[]; |
|
120 |
|
121 extern const wchar_t kUseLowFragHeapCrt[]; |
|
122 |
|
123 #ifndef NDEBUG |
|
124 extern const wchar_t kGearsPluginPathOverride[]; |
|
125 #endif |
|
126 |
|
127 extern const wchar_t kEnableFastback[]; |
|
128 |
|
129 extern const wchar_t kJavaScriptDebuggerPath[]; |
|
130 |
|
131 extern const wchar_t kDisableP13n[]; |
|
132 |
|
133 extern const wchar_t kSdchFilter[]; |
|
134 |
|
135 extern const wchar_t kEnableUserScripts[]; |
|
136 extern const wchar_t kEnableExtensions[]; |
|
137 extern const wchar_t kInstallExtension[]; |
|
138 extern const wchar_t kLoadExtension[]; |
|
139 extern const wchar_t kLoadPlugin[]; |
|
140 extern const wchar_t kUserScriptsDir[]; |
|
141 |
|
142 extern const wchar_t kIncognito[]; |
|
143 |
|
144 extern const wchar_t kEnableRendererAccessibility[]; |
|
145 |
|
146 extern const wchar_t kTestName[]; |
|
147 |
|
148 extern const wchar_t kRendererCmdPrefix[]; |
|
149 |
|
150 extern const wchar_t kNewFtp[]; |
|
151 |
|
152 extern const wchar_t kIPCUseFIFO[]; |
|
153 |
|
154 extern const wchar_t kEnableOutOfProcessDevTools[]; |
|
155 |
|
156 extern const wchar_t kEnableWebWorkers[]; |
|
157 extern const wchar_t kWebWorkerProcessPerCore[]; |
|
158 extern const wchar_t kWebWorkerShareProcesses[]; |
|
159 |
|
160 extern const wchar_t kViewsGtk[]; |
|
161 |
|
162 extern const wchar_t kBookmarkMenu[]; |
|
163 extern const wchar_t kEnableStatsTable[]; |
|
164 |
|
165 extern const wchar_t kEnableOmnibox2[]; |
|
166 |
|
167 extern const wchar_t kDisableAudio[]; |
|
168 extern const wchar_t kSimpleDataSource[]; |
|
169 |
|
170 } // namespace switches |
|
171 |
|
172 #endif // CHROME_COMMON_CHROME_SWITCHES_H__ |