OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 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 "layout_test" command-line switches. |
6 | 6 |
7 #ifndef CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ | 7 #ifndef CONTENT_SHELL_COMMON_LAYOUT_TEST_LAYOUT_TEST_SWITCHES_H_ |
8 #define CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ | 8 #define CONTENT_SHELL_COMMON_LAYOUT_TEST_LAYOUT_TEST_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[]; | |
18 extern const char kContentShellDataPath[]; | |
19 extern const char kCrashDumpsDir[]; | |
20 extern const char kCrashOnFailure[]; | 17 extern const char kCrashOnFailure[]; |
21 extern const char kEnableAccelerated2DCanvas[]; | 18 extern const char kEnableAccelerated2DCanvas[]; |
22 extern const char kEnableFontAntialiasing[]; | 19 extern const char kEnableFontAntialiasing[]; |
23 extern const char kAlwaysUseComplexText[]; | 20 extern const char kAlwaysUseComplexText[]; |
24 extern const char kEnableLeakDetection[]; | 21 extern const char kEnableLeakDetection[]; |
25 extern const char kEncodeBinary[]; | 22 extern const char kEncodeBinary[]; |
26 extern const char kExposeInternalsForTesting[]; | 23 extern const char kExposeInternalsForTesting[]; |
27 extern const char kIsolateSitesForTesting[]; | |
28 extern const char kRegisterFontFiles[]; | |
29 extern const char kRunLayoutTest[]; | 24 extern const char kRunLayoutTest[]; |
30 extern const char kStableReleaseMode[]; | 25 extern const char kStableReleaseMode[]; |
31 extern const char kContentShellHostWindowSize[]; | |
32 | |
33 // Returns list of extra font files to be made accessible to the renderer. | |
34 std::vector<std::string> GetSideloadFontFiles(); | |
35 | 26 |
36 } // namespace switches | 27 } // namespace switches |
37 | 28 |
38 #endif // CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ | 29 #endif // CONTENT_SHELL_COMMON_LAYOUT_TEST_LAYOUT_TEST_SWITCHES_H_ |
OLD | NEW |