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