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

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

Issue 1755123004: Remove dump_line_box_trees and debug_render_tree from LayoutDumpFlags. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Adding const-ref enabled by the core changes. Created 4 years, 9 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 #include "base/command_line.h" 7 #include "base/command_line.h"
8 #include "base/strings/string_split.h" 8 #include "base/strings/string_split.h"
9 9
10 namespace switches { 10 namespace switches {
(...skipping 10 matching lines...) Expand all
21 // Makes Content Shell use the given path for its data directory. 21 // Makes Content Shell use the given path for its data directory.
22 const char kContentShellDataPath[] = "data-path"; 22 const char kContentShellDataPath[] = "data-path";
23 23
24 // The directory breakpad should store minidumps in. 24 // The directory breakpad should store minidumps in.
25 const char kCrashDumpsDir[] = "crash-dumps-dir"; 25 const char kCrashDumpsDir[] = "crash-dumps-dir";
26 26
27 // When specified to "enable-leak-detection" command-line option, 27 // When specified to "enable-leak-detection" command-line option,
28 // causes the leak detector to cause immediate crash when found leak. 28 // causes the leak detector to cause immediate crash when found leak.
29 const char kCrashOnFailure[] = "crash-on-failure"; 29 const char kCrashOnFailure[] = "crash-on-failure";
30 30
31 // When run-layout-test is enabled, this causes the line box tree for
32 // each LayoutBlockFlow to be dumped as well.
33 const char kDumpLineBoxTrees[] = "dump-line-box-trees";
jochen (gone - plz use gerrit) 2016/03/04 12:34:14 maybe we should factor out layout_test switches in
34
35 // Enable accelerated 2D canvas. 31 // Enable accelerated 2D canvas.
36 const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas"; 32 const char kEnableAccelerated2DCanvas[] = "enable-accelerated-2d-canvas";
37 33
38 // Enable font antialiasing for pixel tests. 34 // Enable font antialiasing for pixel tests.
39 const char kEnableFontAntialiasing[] = "enable-font-antialiasing"; 35 const char kEnableFontAntialiasing[] = "enable-font-antialiasing";
40 36
41 // Always use the complex text path for layout tests. 37 // Always use the complex text path for layout tests.
42 const char kAlwaysUseComplexText[] = "always-use-complex-text"; 38 const char kAlwaysUseComplexText[] = "always-use-complex-text";
43 39
44 // 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
(...skipping 39 matching lines...) Expand 10 before | Expand all | Expand 10 after
84 *base::CommandLine::ForCurrentProcess(); 80 *base::CommandLine::ForCurrentProcess();
85 if (command_line.HasSwitch(switches::kRegisterFontFiles)) { 81 if (command_line.HasSwitch(switches::kRegisterFontFiles)) {
86 files = base::SplitString( 82 files = base::SplitString(
87 command_line.GetSwitchValueASCII(switches::kRegisterFontFiles), 83 command_line.GetSwitchValueASCII(switches::kRegisterFontFiles),
88 ";", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL); 84 ";", base::TRIM_WHITESPACE, base::SPLIT_WANT_ALL);
89 } 85 }
90 return files; 86 return files;
91 } 87 }
92 88
93 } // namespace switches 89 } // namespace switches
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698