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

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

Issue 1185563002: Add --dump-line-box-trees parameter to content_shell. (Closed) Base URL: https://chromium.googlesource.com/chromium/src@master
Patch Set: Add braces to if one-liners. Created 5 years, 6 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
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";
(...skipping 12 matching lines...) Expand all
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 the render trees of pages to be dumped as text once they have
29 // finished loading. Note that this switch has been deprecated, and the 29 // finished loading. Note that this switch has been deprecated, and the
30 // identically functioning |kRunLayoutTest| switch should be used instead. 30 // identically functioning |kRunLayoutTest| switch should be used instead.
31 const char kDumpRenderTree[] = "dump-render-tree"; 31 const char kDumpRenderTree[] = "dump-render-tree";
32 32
33 // When dump-render-tree is enabled, this causes the line box tree for
34 // each LayoutBlockFlow to be dumped as well.
35 const char kDumpLineBoxTrees[] = "dump-line-box-trees";
36
33 // Expose window.ipcTester object for testing 37 // Expose window.ipcTester object for testing
34 const char kExposeIpcEcho[] = "expose-ipc-echo"; 38 const char kExposeIpcEcho[] = "expose-ipc-echo";
35 39
36 // Enable accelerated 2D canvas. 40 // Enable accelerated 2D canvas.
37 const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas"; 41 const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas";
38 42
39 // Enable font antialiasing for pixel tests. 43 // Enable font antialiasing for pixel tests.
40 const char kEnableFontAntialiasing[] = "enable-font-antialiasing"; 44 const char kEnableFontAntialiasing[] = "enable-font-antialiasing";
41 45
42 // Enables the leak detection of loading webpages. This allows us to check 46 // Enables the leak detection of loading webpages. This allows us to check
(...skipping 19 matching lines...) Expand all
62 // This makes us disable some web-platform runtime features so that we test 66 // 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 67 // content_shell as if it was a stable release. It is only followed when
64 // kRunLayoutTest is set. For the features' level, see 68 // kRunLayoutTest is set. For the features' level, see
65 // http://dev.chromium.org/blink/runtime-enabled-features. 69 // http://dev.chromium.org/blink/runtime-enabled-features.
66 const char kStableReleaseMode[] = "stable-release-mode"; 70 const char kStableReleaseMode[] = "stable-release-mode";
67 71
68 // Size for the content_shell's host window (i.e. "800x600"). 72 // Size for the content_shell's host window (i.e. "800x600").
69 const char kContentShellHostWindowSize[] = "content-shell-host-window-size"; 73 const char kContentShellHostWindowSize[] = "content-shell-host-window-size";
70 74
71 } // namespace switches 75 } // namespace switches
OLDNEW
« no previous file with comments | « content/shell/common/shell_switches.h ('k') | content/shell/renderer/layout_test/blink_test_runner.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698