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

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

Issue 896403002: Revert of Chromium-side patch to rename "--dump-render-tree" to "--run-layout-test". (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 10 months 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
« no previous file with comments | « content/shell/common/shell_switches.h ('k') | content/shell/tools/breakpad_integration_test.py » ('j') | 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/common/shell_switches.h" 5 #include "content/shell/common/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 // The directory breakpad should store minidumps in. 21 // The directory breakpad should store minidumps in.
22 const char kCrashDumpsDir[] = "crash-dumps-dir"; 22 const char kCrashDumpsDir[] = "crash-dumps-dir";
23 23
24 // When specified to "enable-leak-detection" command-line option, 24 // When specified to "enable-leak-detection" command-line option,
25 // causes the leak detector to cause immediate crash when found leak. 25 // causes the leak detector to cause immediate crash when found leak.
26 const char kCrashOnFailure[] = "crash-on-failure"; 26 const char kCrashOnFailure[] = "crash-on-failure";
27 27
28 // Request the render trees of pages to be dumped as text once they have 28 // Request pages to be dumped as text once they finished loading.
29 // finished loading. Note that this switch has been deprecated, and the
30 // identically functioning |kRunLayoutTest| switch should be used instead.
31 const char kDumpRenderTree[] = "dump-render-tree"; 29 const char kDumpRenderTree[] = "dump-render-tree";
32 30
33 // Expose window.ipcTester object for testing 31 // Expose window.ipcTester object for testing
34 const char kExposeIpcEcho[] = "expose-ipc-echo"; 32 const char kExposeIpcEcho[] = "expose-ipc-echo";
35 33
36 // Enable accelerated 2D canvas. 34 // Enable accelerated 2D canvas.
37 const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas"; 35 const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas";
38 36
39 // Enable font antialiasing for pixel tests. 37 // Enable font antialiasing for pixel tests.
40 const char kEnableFontAntialiasing[] = "enable-font-antialiasing"; 38 const char kEnableFontAntialiasing[] = "enable-font-antialiasing";
41 39
42 // Enables the leak detection of loading webpages. This allows us to check 40 // Enables the leak detection of loading webpages. This allows us to check
43 // whether or not reloading a webpage releases web-related objects correctly. 41 // whether or not reloading a webpage releases web-related objects correctly.
44 const char kEnableLeakDetection[] = "enable-leak-detection"; 42 const char kEnableLeakDetection[] = "enable-leak-detection";
45 43
46 // Encode binary layout test results (images, audio) using base64. 44 // Encode binary layout test results (images, audio) using base64.
47 const char kEncodeBinary[] = "encode-binary"; 45 const char kEncodeBinary[] = "encode-binary";
48 46
49 // Exposes the window.internals object to JavaScript for interactive development 47 // Exposes the window.internals object to JavaScript for interactive development
50 // and debugging of layout tests that rely on it. 48 // and debugging of layout tests that rely on it.
51 const char kExposeInternalsForTesting[] = "expose-internals-for-testing"; 49 const char kExposeInternalsForTesting[] = "expose-internals-for-testing";
52 50
53 // Registers additional font files on Windows (for fonts outside the usual 51 // Registers additional font files on Windows (for fonts outside the usual
54 // %WINDIR%\Fonts location). Multiple files can be used by separating them 52 // %WINDIR%\Fonts location). Multiple files can be used by separating them
55 // with a semicolon (;). 53 // with a semicolon (;).
56 const char kRegisterFontFiles[] = "register-font-files"; 54 const char kRegisterFontFiles[] = "register-font-files";
57 55
58 // Request the render trees of pages to be dumped as text once they have
59 // finished loading.
60 const char kRunLayoutTest[] = "run-layout-test";
61
62 // This makes us disable some web-platform runtime features so that we test 56 // This makes us disable some web-platform runtime features so that we test
63 // content_shell as if it was a stable release. It is only followed when 57 // content_shell as if it was a stable release. It is only followed when
64 // kRunLayoutTest is set. For the features' level, see 58 // kDumpRenderTree is set. For the features' level, see
65 // http://dev.chromium.org/blink/runtime-enabled-features. 59 // http://dev.chromium.org/blink/runtime-enabled-features.
66 const char kStableReleaseMode[] = "stable-release-mode"; 60 const char kStableReleaseMode[] = "stable-release-mode";
67 61
68 // Size for the content_shell's host window (i.e. "800x600"). 62 // Size for the content_shell's host window (i.e. "800x600").
69 const char kContentShellHostWindowSize[] = "content-shell-host-window-size"; 63 const char kContentShellHostWindowSize[] = "content-shell-host-window-size";
70 64
71 } // namespace switches 65 } // namespace switches
OLDNEW
« no previous file with comments | « content/shell/common/shell_switches.h ('k') | content/shell/tools/breakpad_integration_test.py » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698