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

Unified Diff: components/test_runner/layout_dump_flags.h

Issue 1589643003: OOPIF support for testRunner.dumpAsText and similar layout dumps. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebasing... Created 4 years, 11 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/test_runner/layout_dump.cc ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/test_runner/layout_dump_flags.h
diff --git a/components/test_runner/layout_dump_flags.h b/components/test_runner/layout_dump_flags.h
new file mode 100644
index 0000000000000000000000000000000000000000..5253e155fe5ab1ac76847331def50bc707f1ea8e
--- /dev/null
+++ b/components/test_runner/layout_dump_flags.h
@@ -0,0 +1,27 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_FLAGS_H_
+#define COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_FLAGS_H_
+
+namespace test_runner {
+
+enum class LayoutDumpMode {
+ DUMP_AS_TEXT,
+ DUMP_AS_MARKUP,
+ DUMP_SCROLL_POSITIONS
+};
+
+struct LayoutDumpFlags {
+ LayoutDumpMode main_dump_mode;
+
+ bool dump_as_printed;
+ bool dump_child_frames;
+ bool dump_line_box_trees;
+ bool debug_render_tree;
+};
+
+} // namespace test_runner
+
+#endif // COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_FLAGS_H_
« no previous file with comments | « components/test_runner/layout_dump.cc ('k') | components/test_runner/test_runner.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698