| 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 LayoutTreePrinter_h |
| 6 #define LayoutTreePrinter_h |
| 7 |
| 8 #include "core/CoreExport.h" |
| 9 #include "core/editing/VisiblePosition.h" |
| 10 |
| 11 namespace blink { |
| 12 class InlineBox; |
| 13 class LayoutObject; |
| 14 class LayoutPosition; |
| 15 class Node; |
| 16 } // namespace blink |
| 17 |
| 18 #ifndef NDEBUG |
| 19 // Outside the blink namespace for ease of invocation from GDB. |
| 20 CORE_EXPORT void dumpLayoutTree(const blink::InlineBox*); |
| 21 CORE_EXPORT void dumpLayoutTree(const blink::LayoutObject*); |
| 22 CORE_EXPORT void dumpLayoutTree(const blink::LayoutPosition&); |
| 23 CORE_EXPORT void dumpLayoutTree(const blink::Node*); |
| 24 CORE_EXPORT void dumpLayoutTree(const blink::Position&); |
| 25 CORE_EXPORT void dumpLayoutTree(const blink::VisiblePosition&); |
| 26 #endif |
| 27 |
| 28 #endif // LayoutTreePrinter_h |
| OLD | NEW |