blob: 06c820acb884db9fc2cbc76b5b033303e04d69b7 [file] [log] [blame]
// 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.
#include <string>
#include "content/shell/test_runner/test_runner_export.h"
#include "content/shell/test_runner/web_test_runtime_flags.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 WebTestRuntimeFlags& flags);
} // namespace test_runner