OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2010 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 command-line switches used by Chrome. | 5 // Defines all the command-line switches used by Chrome. |
6 | 6 |
7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ | 7 #ifndef CHROME_COMMON_CHROME_SWITCHES_H_ |
8 #define CHROME_COMMON_CHROME_SWITCHES_H_ | 8 #define CHROME_COMMON_CHROME_SWITCHES_H_ |
9 | 9 |
10 #include "build/build_config.h" | 10 #include "build/build_config.h" |
11 #include "base/base_switches.h" | 11 #include "base/base_switches.h" |
12 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 // ----------------------------------------------------------------------------- | 15 // ----------------------------------------------------------------------------- |
16 // Can't find the switch you are looking for? Try looking in | 16 // Can't find the switch you are looking for? Try looking in |
17 // base/base_switches.cc instead. | 17 // base/base_switches.cc instead. |
18 // ----------------------------------------------------------------------------- | 18 // ----------------------------------------------------------------------------- |
19 | 19 |
20 // All switches in alphabetical order. The switches should be documented | 20 // All switches in alphabetical order. The switches should be documented |
21 // alongside the definition of their values in the .cc file. | 21 // alongside the definition of their values in the .cc file. |
22 extern const char kActivateOnLaunch[]; | 22 extern const char kActivateOnLaunch[]; |
23 extern const char kAllowFileAccessFromFiles[]; | 23 extern const char kAllowFileAccessFromFiles[]; |
24 extern const char kAllowSandboxDebugging[]; | 24 extern const char kAllowSandboxDebugging[]; |
25 extern const char kAlwaysEnableDevTools[]; | 25 extern const char kAlwaysEnableDevTools[]; |
26 extern const char kApp[]; | 26 extern const char kApp[]; |
27 extern const char kAppId[]; | 27 extern const char kAppId[]; |
28 extern const char kAppLaunchAsPanel[]; | 28 extern const char kAppLaunchAsPanel[]; |
| 29 extern const char kAppLauncherForNewTab[]; |
29 extern const char kAuthServerWhitelist[]; | 30 extern const char kAuthServerWhitelist[]; |
30 extern const char kAutomationClientChannelID[]; | 31 extern const char kAutomationClientChannelID[]; |
31 extern const char kBookmarkMenu[]; | 32 extern const char kBookmarkMenu[]; |
32 extern const char kBrowserAssertTest[]; | 33 extern const char kBrowserAssertTest[]; |
33 extern const char kBrowserCrashTest[]; | 34 extern const char kBrowserCrashTest[]; |
34 extern const char kBrowserSubprocessPath[]; | 35 extern const char kBrowserSubprocessPath[]; |
35 extern const char kChromeFrame[]; | 36 extern const char kChromeFrame[]; |
36 extern const char kCountry[]; | 37 extern const char kCountry[]; |
37 extern const char kDebugPrint[]; | 38 extern const char kDebugPrint[]; |
38 extern const char kDiagnostics[]; | 39 extern const char kDiagnostics[]; |
(...skipping 217 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
256 #if !defined(OFFICIAL_BUILD) | 257 #if !defined(OFFICIAL_BUILD) |
257 extern const char kRendererCheckFalseTest[]; | 258 extern const char kRendererCheckFalseTest[]; |
258 #endif | 259 #endif |
259 | 260 |
260 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in | 261 // DON'T ADD RANDOM STUFF HERE. Put it in the main section above in |
261 // alphabetical order, or in one of the ifdefs (also in order in each section). | 262 // alphabetical order, or in one of the ifdefs (also in order in each section). |
262 | 263 |
263 } // namespace switches | 264 } // namespace switches |
264 | 265 |
265 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ | 266 #endif // CHROME_COMMON_CHROME_SWITCHES_H_ |
OLD | NEW |