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"
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 // Show the content_shell window, even when running in layout test mode.
22 const char kDisableHeadlessForLayoutTests
[] =
23 "disable-headless-for-layout-tests";
25 // Request pages to be dumped as text once they finished loading.
26 const char kDumpRenderTree
[] = "dump-render-tree";
28 // Enable accelerated 2D canvas.
29 const char kEnableAccelerated2DCanvas
[] = "enable-accelerated-2d-canvas";
31 // Alias for kEnableSoftwareCompositingGLAdapter.
32 const char kEnableSoftwareCompositing
[] = "enable-software-compositing";
34 // Disables the timeout for layout tests.
35 const char kNoTimeout
[] = "no-timeout";
37 // Save results when layout-as-browser tests fail.
38 const char kOutputLayoutTestDifferences
[] = "output-layout-test-differences";
40 } // namespace switches