Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.h

Issue 2647063002: Move property tree debugging code to platform/graphics/paint/ (try #2) (Closed)
Patch Set: none Created 3 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 #include "wtf/text/WTFString.h"
10 10
11 #ifndef NDEBUG 11 #if DCHECK_IS_ON()
12 12
13 namespace blink { 13 namespace blink {
14 14
15 class ClipPaintPropertyNode;
16 class FrameView; 15 class FrameView;
17 class EffectPaintPropertyNode;
18 class PropertyTreeState;
19 class ScrollPaintPropertyNode;
20 class TransformPaintPropertyNode;
21 16
22 } // namespace blink 17 } // namespace blink
23 18
24 // Outside the blink namespace for ease of invocation from gdb. 19 // Outside the blink namespace for ease of invocation from gdb.
25 CORE_EXPORT void showAllPropertyTrees(const blink::FrameView& rootFrame); 20 CORE_EXPORT void showAllPropertyTrees(const blink::FrameView& rootFrame);
26 CORE_EXPORT void showTransformPropertyTree(const blink::FrameView& rootFrame); 21 CORE_EXPORT void showTransformPropertyTree(const blink::FrameView& rootFrame);
27 CORE_EXPORT void showClipPropertyTree(const blink::FrameView& rootFrame); 22 CORE_EXPORT void showClipPropertyTree(const blink::FrameView& rootFrame);
28 CORE_EXPORT void showEffectPropertyTree(const blink::FrameView& rootFrame); 23 CORE_EXPORT void showEffectPropertyTree(const blink::FrameView& rootFrame);
29 CORE_EXPORT void showScrollPropertyTree(const blink::FrameView& rootFrame); 24 CORE_EXPORT void showScrollPropertyTree(const blink::FrameView& rootFrame);
30 CORE_EXPORT String 25 CORE_EXPORT String
31 transformPropertyTreeAsString(const blink::FrameView& rootFrame); 26 transformPropertyTreeAsString(const blink::FrameView& rootFrame);
32 CORE_EXPORT String clipPropertyTreeAsString(const blink::FrameView& rootFrame); 27 CORE_EXPORT String clipPropertyTreeAsString(const blink::FrameView& rootFrame);
33 CORE_EXPORT String 28 CORE_EXPORT String
34 effectPropertyTreeAsString(const blink::FrameView& rootFrame); 29 effectPropertyTreeAsString(const blink::FrameView& rootFrame);
35 CORE_EXPORT String 30 CORE_EXPORT String
36 scrollPropertyTreeAsString(const blink::FrameView& rootFrame); 31 scrollPropertyTreeAsString(const blink::FrameView& rootFrame);
37 32
38 CORE_EXPORT void showPaintPropertyPath(
39 const blink::TransformPaintPropertyNode*);
40 CORE_EXPORT void showPaintPropertyPath(const blink::ClipPaintPropertyNode*);
41 CORE_EXPORT void showPaintPropertyPath(const blink::EffectPaintPropertyNode*);
42 CORE_EXPORT void showPaintPropertyPath(const blink::ScrollPaintPropertyNode*);
43 CORE_EXPORT String
44 transformPaintPropertyPathAsString(const blink::TransformPaintPropertyNode*);
45 CORE_EXPORT String
46 clipPaintPropertyPathAsString(const blink::ClipPaintPropertyNode*);
47 CORE_EXPORT String
48 effectPaintPropertyPathAsString(const blink::EffectPaintPropertyNode*);
49 CORE_EXPORT String
50 scrollPaintPropertyPathAsString(const blink::ScrollPaintPropertyNode*);
51
52 CORE_EXPORT void showPropertyTreeState(const blink::PropertyTreeState&);
53 CORE_EXPORT String propertyTreeStateAsString(const blink::PropertyTreeState&);
54
55 CORE_EXPORT String paintPropertyTreeGraph(const blink::FrameView&); 33 CORE_EXPORT String paintPropertyTreeGraph(const blink::FrameView&);
56 34
57 #endif // ifndef NDEBUG 35 #endif // if DCHECK_IS_ON()
58 36
59 #endif // PaintPropertyTreePrinter_h 37 #endif // PaintPropertyTreePrinter_h
OLDNEW
« no previous file with comments | « no previous file | third_party/WebKit/Source/core/paint/PaintPropertyTreePrinter.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698