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
3 // found in the LICENSE file.
5 // Defines all the "content_shell" command-line switches.
7 #ifndef CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_
8 #define CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_
15 extern const char kAllowExternalPages
[];
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
[];
21 extern const char kDumpRenderTree
[];
22 extern const char kDumpLineBoxTrees
[];
23 extern const char kExposeIpcEcho
[];
24 extern const char kEnableAccelerated2DCanvas
[];
25 extern const char kEnableFontAntialiasing
[];
26 extern const char kEnableLeakDetection
[];
27 extern const char kEncodeBinary
[];
28 extern const char kExposeInternalsForTesting
[];
29 extern const char kRegisterFontFiles
[];
30 extern const char kRunLayoutTest
[];
31 extern const char kStableReleaseMode
[];
32 extern const char kContentShellHostWindowSize
[];
34 // Returns list of extra font files to be made accessible to the renderer.
35 std::vector
<std::string
> GetSideloadFontFiles();
37 } // namespace switches
39 #endif // CONTENT_SHELL_COMMON_SHELL_SWITCHES_H_