Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(190)

Side by Side Diff: content/shell/shell_switches.cc

Issue 11576003: [content shell] run headless when in layout test mode (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebased Created 8 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « content/shell/shell_switches.h ('k') | no next file » | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
OLDNEW
« no previous file with comments | « content/shell/shell_switches.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698