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/common/shell_switches.h"
6
7namespace switches {
8
9// Allow access to external pages during layout tests.
10const char kAllowExternalPages[] = "allow-external-pages";
11
12// Check whether all system dependencies for running layout tests are met.
13const char kCheckLayoutTestSysDeps[] = "check-layout-test-sys-deps";
14
15// Tells Content Shell that it's running as a content_browsertest.
16const char kContentBrowserTest[] = "browser-test";
17
18// Makes Content Shell use the given path for its data directory.
19const char kContentShellDataPath[] = "data-path";
20
21// Request pages to be dumped as text once they finished loading.
22const char kDumpRenderTree[] = "dump-render-tree";
23
24// Enable accelerated 2D canvas.
25const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas";
26
27// Encode binary layout test results (images, audio) using base64.
28const char kEncodeBinary[] = "encode-binary";
29
30// Exposes the window.internals object to JavaScript for interactive development
31// and debugging of layout tests that rely on it.
32const char kExposeInternalsForTesting[]     = "expose-internals-for-testing";
33
34// Save results when layout-as-browser tests fail.
35const char kOutputLayoutTestDifferences[] = "output-layout-test-differences";
36
37}  // namespace switches
38