OLD | NEW |
1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 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 #ifndef COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_H_ | 5 #ifndef CONTENT_SHELL_TEST_RUNNER_LAYOUT_DUMP_H_ |
6 #define COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_H_ | 6 #define CONTENT_SHELL_TEST_RUNNER_LAYOUT_DUMP_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "components/test_runner/layout_test_runtime_flags.h" | 10 #include "content/shell/test_runner/layout_test_runtime_flags.h" |
11 #include "components/test_runner/test_runner_export.h" | 11 #include "content/shell/test_runner/test_runner_export.h" |
12 | 12 |
13 namespace blink { | 13 namespace blink { |
14 class WebLocalFrame; | 14 class WebLocalFrame; |
15 } // namespace blink | 15 } // namespace blink |
16 | 16 |
17 namespace test_runner { | 17 namespace test_runner { |
18 | 18 |
19 // Dumps textual representation of |frame| contents. Exact dump mode depends | 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). | 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, | 21 TEST_RUNNER_EXPORT std::string DumpLayout(blink::WebLocalFrame* frame, |
22 const LayoutTestRuntimeFlags& flags); | 22 const LayoutTestRuntimeFlags& flags); |
23 | 23 |
24 } // namespace test_runner | 24 } // namespace test_runner |
25 | 25 |
26 #endif // COMPONENTS_TEST_RUNNER_LAYOUT_DUMP_H_ | 26 #endif // CONTENT_SHELL_TEST_RUNNER_LAYOUT_DUMP_H_ |
OLD | NEW |