| OLD | NEW |
| (Empty) |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | |
| 2 // Use of this source code is governed by a BSD-style license that can be | |
| 3 // found in the LICENSE file. | |
| 4 | |
| 5 #ifndef COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_H_ | |
| 6 #define COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_H_ | |
| 7 | |
| 8 #include <string> | |
| 9 | |
| 10 #include "components/test_runner/layout_test_runtime_flags.h" | |
| 11 #include "components/test_runner/test_runner_export.h" | |
| 12 | |
| 13 namespace blink { | |
| 14 class WebLocalFrame; | |
| 15 } // namespace blink | |
| 16 | |
| 17 namespace test_runner { | |
| 18 | |
| 19 // Dumps textual representation of |frame| contents. Exact dump mode depends | |
| 20 // on |flags| (i.e. dump_as_text VS dump_as_markup and/or is_printing). | |
| 21 TEST_RUNNER_EXPORT std::string DumpLayout(blink::WebLocalFrame* frame, | |
| 22 const LayoutTestRuntimeFlags& flags); | |
| 23 | |
| 24 } // namespace test_runner | |
| 25 | |
| 26 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_H_ | |
| OLD | NEW |