| 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 PaintPropertyTreePrinter_h | 5 #ifndef PaintPropertyTreePrinter_h |
| 6 #define PaintPropertyTreePrinter_h | 6 #define PaintPropertyTreePrinter_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "wtf/text/WTFString.h" |
| 9 | 10 |
| 10 #ifndef NDEBUG | 11 #ifndef NDEBUG |
| 11 | 12 |
| 12 namespace blink { | 13 namespace blink { |
| 13 | 14 |
| 14 class ClipPaintPropertyNode; | 15 class ClipPaintPropertyNode; |
| 15 class FrameView; | 16 class FrameView; |
| 16 class EffectPaintPropertyNode; | 17 class EffectPaintPropertyNode; |
| 17 class TransformPaintPropertyNode; | 18 class TransformPaintPropertyNode; |
| 18 | 19 |
| 19 } // namespace blink | 20 } // namespace blink |
| 20 | 21 |
| 21 // Outside the blink namespace for ease of invocation from gdb. | 22 // Outside the blink namespace for ease of invocation from gdb. |
| 22 CORE_EXPORT void showTransformPropertyTree(const blink::FrameView& rootFrame); | 23 CORE_EXPORT void showTransformPropertyTree(const blink::FrameView& rootFrame); |
| 23 CORE_EXPORT void showClipPropertyTree(const blink::FrameView& rootFrame); | 24 CORE_EXPORT void showClipPropertyTree(const blink::FrameView& rootFrame); |
| 24 CORE_EXPORT void showEffectPropertyTree(const blink::FrameView& rootFrame); | 25 CORE_EXPORT void showEffectPropertyTree(const blink::FrameView& rootFrame); |
| 25 CORE_EXPORT void showPaintPropertyPath(const blink::TransformPaintPropertyNode*)
; | 26 CORE_EXPORT void showPaintPropertyPath(const blink::TransformPaintPropertyNode*)
; |
| 26 CORE_EXPORT void showPaintPropertyPath(const blink::ClipPaintPropertyNode*); | 27 CORE_EXPORT void showPaintPropertyPath(const blink::ClipPaintPropertyNode*); |
| 27 CORE_EXPORT void showPaintPropertyPath(const blink::EffectPaintPropertyNode*); | 28 CORE_EXPORT void showPaintPropertyPath(const blink::EffectPaintPropertyNode*); |
| 29 CORE_EXPORT String paintPropertyTreeGraph(const blink::FrameView&); |
| 28 | 30 |
| 29 #endif // ifndef NDEBUG | 31 #endif // ifndef NDEBUG |
| 30 | 32 |
| 31 #endif // PaintPropertyTreePrinter_h | 33 #endif // PaintPropertyTreePrinter_h |
| OLD | NEW |