forked from nwjs/chromium.src
-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathlayout_dump.h
More file actions
26 lines (18 loc) · 878 Bytes
/
layout_dump.h
File metadata and controls
26 lines (18 loc) · 878 Bytes
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
// 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 CONTENT_SHELL_TEST_RUNNER_LAYOUT_DUMP_H_
#define CONTENT_SHELL_TEST_RUNNER_LAYOUT_DUMP_H_
#include <string>
#include "content/shell/test_runner/layout_test_runtime_flags.h"
#include "content/shell/test_runner/test_runner_export.h"
namespace blink {
class WebLocalFrame;
} // namespace blink
namespace test_runner {
// Dumps textual representation of |frame| contents. Exact dump mode depends
// on |flags| (i.e. dump_as_text VS dump_as_markup and/or is_printing).
TEST_RUNNER_EXPORT std::string DumpLayout(blink::WebLocalFrame* frame,
const LayoutTestRuntimeFlags& flags);
} // namespace test_runner
#endif // CONTENT_SHELL_TEST_RUNNER_LAYOUT_DUMP_H_