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 #include "content/shell/shell_switches.h" | 5 #include "content/shell/shell_switches.h" |
6 | 6 |
7 namespace switches { | 7 namespace switches { |
8 | 8 |
9 // Allow access to external pages during layout tests. | 9 // Allow access to external pages during layout tests. |
10 const char kAllowExternalPages[] = "allow-external-pages"; | 10 const char kAllowExternalPages[] = "allow-external-pages"; |
11 | 11 |
12 // Check whether all system dependencies for running layout tests are met. | 12 // Check whether all system dependencies for running layout tests are met. |
13 const char kCheckLayoutTestSysDeps[] = "check-layout-test-sys-deps"; | 13 const char kCheckLayoutTestSysDeps[] = "check-layout-test-sys-deps"; |
14 | 14 |
15 // Tells Content Shell that it's running as a content_browsertest. | 15 // Tells Content Shell that it's running as a content_browsertest. |
16 const char kContentBrowserTest[] = "browser-test"; | 16 const char kContentBrowserTest[] = "browser-test"; |
17 | 17 |
18 // Makes Content Shell use the given path for its data directory. | 18 // Makes Content Shell use the given path for its data directory. |
19 const char kContentShellDataPath[] = "data-path"; | 19 const char kContentShellDataPath[] = "data-path"; |
20 | 20 |
21 // Request pages to be dumped as text once they finished loading. | 21 // Request pages to be dumped as text once they finished loading. |
22 const char kDumpRenderTree[] = "dump-render-tree"; | 22 const char kDumpRenderTree[] = "dump-render-tree"; |
23 | 23 |
24 // Disables the timeout for layout tests. | 24 // Disables the timeout for layout tests. |
25 const char kNoTimeout[] = "no-timeout"; | 25 const char kNoTimeout[] = "no-timeout"; |
26 | 26 |
27 // Save results when layout-as-browser tests fail. | 27 // Save results when layout-as-browser tests fail. |
28 const char kOutputLayoutTestDifferences[] = "output-layout-test-differences"; | 28 const char kOutputLayoutTestDifferences[] = "output-layout-test-differences"; |
29 | 29 |
| 30 // Show the content_shell window, even when running in layout test mode. |
| 31 const char kShowContentShell[] = "show-content-shell"; |
| 32 |
30 } // namespace switches | 33 } // namespace switches |
OLD | NEW |