| Index: third_party/WebKit/Source/core/editing/LayoutTreePrinter.h
|
| diff --git a/third_party/WebKit/Source/core/editing/LayoutTreePrinter.h b/third_party/WebKit/Source/core/editing/LayoutTreePrinter.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..ef10efa79450e979320cee6b182dbc8f6820e7f1
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/core/editing/LayoutTreePrinter.h
|
| @@ -0,0 +1,28 @@
|
| +// 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 LayoutTreePrinter_h
|
| +#define LayoutTreePrinter_h
|
| +
|
| +#include "core/CoreExport.h"
|
| +#include "core/editing/VisiblePosition.h"
|
| +
|
| +namespace blink {
|
| +class InlineBox;
|
| +class LayoutObject;
|
| +class LayoutPosition;
|
| +class Node;
|
| +} // namespace blink
|
| +
|
| +#ifndef NDEBUG
|
| +// Outside the blink namespace for ease of invocation from GDB.
|
| +CORE_EXPORT void dumpLayoutTree(const blink::InlineBox*);
|
| +CORE_EXPORT void dumpLayoutTree(const blink::LayoutObject*);
|
| +CORE_EXPORT void dumpLayoutTree(const blink::LayoutPosition&);
|
| +CORE_EXPORT void dumpLayoutTree(const blink::Node*);
|
| +CORE_EXPORT void dumpLayoutTree(const blink::Position&);
|
| +CORE_EXPORT void dumpLayoutTree(const blink::VisiblePosition&);
|
| +#endif
|
| +
|
| +#endif // LayoutTreePrinter_h
|
|
|