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