| 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[]; | 21 extern const char kDumpLineBoxTrees[]; |
| 22 extern const char kEnableAccelerated2DCanvas[]; | 22 extern const char kEnableAccelerated2DCanvas[]; |
| 23 extern const char kEnableFontAntialiasing[]; | 23 extern const char kEnableFontAntialiasing[]; |
| 24 extern const char kAlwaysUseComplexText[]; | 24 extern const char kAlwaysUseComplexText[]; |
| 25 extern const char kEnableLeakDetection[]; | 25 extern const char kEnableLeakDetection[]; |
| 26 extern const char kEncodeBinary[]; | 26 extern const char kEncodeBinary[]; |
| 27 extern const char kExposeInternalsForTesting[]; | 27 extern const char kExposeInternalsForTesting[]; |
| 28 extern const char kIsolateSitesForTesting[]; |
| 28 extern const char kRegisterFontFiles[]; | 29 extern const char kRegisterFontFiles[]; |
| 29 extern const char kRunLayoutTest[]; | 30 extern const char kRunLayoutTest[]; |
| 30 extern const char kStableReleaseMode[]; | 31 extern const char kStableReleaseMode[]; |
| 31 extern const char kContentShellHostWindowSize[]; | 32 extern const char kContentShellHostWindowSize[]; |
| 32 | 33 |
| 33 // Returns list of extra font files to be made accessible to the renderer. | 34 // Returns list of extra font files to be made accessible to the renderer. |
| 34 std::vector<std::string> GetSideloadFontFiles(); | 35 std::vector<std::string> GetSideloadFontFiles(); |
| 35 | 36 |
| 36 } // namespace switches | 37 } // namespace switches |
| 37 | 38 |
| 38 #endif // CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ | 39 #endif // CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_ |
| OLD | NEW |