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_shell" command-line switches. | 5 // Defines all the "content_shell" command-line switches. |
6 | 6 |
7 #ifndef CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ | 7 #ifndef CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ |
8 #define CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ | 8 #define CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ |
9 | 9 |
10 #include <string> | 10 #include <string> |
11 #include <vector> | 11 #include <vector> |
12 | 12 |
13 namespace switches { | 13 namespace switches { |
14 | 14 |
15 extern const char kAllowExternalPages[]; | 15 extern const char kAllowExternalPages[]; |
16 extern const char kCheckLayoutTestSysDeps[]; | 16 extern const char kCheckLayoutTestSysDeps[]; |
17 extern const char kContentBrowserTest[]; | 17 extern const char kContentBrowserTest[]; |
18 extern const char kContentShellDataPath[]; | 18 extern const char kContentShellDataPath[]; |
19 extern const char kCrashDumpsDir[]; | 19 extern const char kCrashDumpsDir[]; |
20 extern const char kCrashOnFailure[]; | 20 extern const char kCrashOnFailure[]; |
21 extern const char kDumpLineBoxTrees[]; | |
22 extern const char kEnableAccelerated2DCanvas[]; | 21 extern const char kEnableAccelerated2DCanvas[]; |
23 extern const char kEnableFontAntialiasing[]; | 22 extern const char kEnableFontAntialiasing[]; |
24 extern const char kAlwaysUseComplexText[]; | 23 extern const char kAlwaysUseComplexText[]; |
25 extern const char kEnableLeakDetection[]; | 24 extern const char kEnableLeakDetection[]; |
26 extern const char kEncodeBinary[]; | 25 extern const char kEncodeBinary[]; |
27 extern const char kExposeInternalsForTesting[]; | 26 extern const char kExposeInternalsForTesting[]; |
28 extern const char kIsolateSitesForTesting[]; | 27 extern const char kIsolateSitesForTesting[]; |
29 extern const char kRegisterFontFiles[]; | 28 extern const char kRegisterFontFiles[]; |
30 extern const char kRunLayoutTest[]; | 29 extern const char kRunLayoutTest[]; |
31 extern const char kStableReleaseMode[]; | 30 extern const char kStableReleaseMode[]; |
32 extern const char kContentShellHostWindowSize[]; | 31 extern const char kContentShellHostWindowSize[]; |
33 | 32 |
34 // Returns list of extra font files to be made accessible to the renderer. | 33 // Returns list of extra font files to be made accessible to the renderer. |
35 std::vector<std::string> GetSideloadFontFiles(); | 34 std::vector<std::string> GetSideloadFontFiles(); |
36 | 35 |
37 } // namespace switches | 36 } // namespace switches |
38 | 37 |
39 #endif // CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ | 38 #endif // CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ |
OLD | NEW |