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

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: Ready for review. 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
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..5d30214d26357ee278cb261432790e08bb3d0c3f
--- /dev/null
+++ b/components/test_runner/layout_dump_flags.h
@@ -0,0 +1,25 @@
+// 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 {
+
+struct LayoutDumpFlags {
+ // Main, mutually-exclusive flavors of layout dump:
+ bool dump_as_text;
+ bool dump_as_markup;
+ bool dump_scroll_positions;
Mike West 2016/01/22 19:58:56 If these are mutually-exclusive, perhaps you could
Łukasz Anforowicz 2016/01/26 00:50:02 Done.
+
+ // Sub-flavors:
+ 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_

Powered by Google App Engine
This is Rietveld 408576698