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

Side by Side Diff: Source/core/rendering/RenderTreeAsText.h

Issue 595603002: Cleanup RenderTreeAsText (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 6 years, 3 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 | Source/core/rendering/RenderTreeAsText.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 /* 1 /*
2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved. 2 * Copyright (C) 2003, 2006, 2008 Apple Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions 5 * modification, are permitted provided that the following conditions
6 * are met: 6 * are met:
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 13 matching lines...) Expand all
24 */ 24 */
25 25
26 #ifndef RenderTreeAsText_h 26 #ifndef RenderTreeAsText_h
27 #define RenderTreeAsText_h 27 #define RenderTreeAsText_h
28 #include "platform/text/TextStream.h" 28 #include "platform/text/TextStream.h"
29 29
30 #include "wtf/Forward.h" 30 #include "wtf/Forward.h"
31 31
32 namespace blink { 32 namespace blink {
33 33
34 class Color;
34 class Element; 35 class Element;
35 class LayoutRect; 36 class LayoutRect;
36 class LocalFrame; 37 class LocalFrame;
37 class Node; 38 class Node;
38 class RenderLayer; 39 class RenderLayer;
39 class RenderObject; 40 class RenderObject;
40 class TextStream; 41 class TextStream;
41 42
42 enum RenderAsTextBehaviorFlags { 43 enum RenderAsTextBehaviorFlags {
43 RenderAsTextBehaviorNormal = 0, 44 RenderAsTextBehaviorNormal = 0,
(...skipping 24 matching lines...) Expand all
68 69
69 // Helper function shared with SVGRenderTreeAsText 70 // Helper function shared with SVGRenderTreeAsText
70 String quoteAndEscapeNonPrintables(const String&); 71 String quoteAndEscapeNonPrintables(const String&);
71 72
72 String counterValueForElement(Element*); 73 String counterValueForElement(Element*);
73 74
74 String markerTextForListItem(Element*); 75 String markerTextForListItem(Element*);
75 76
76 String nodePositionAsStringForTesting(Node*); 77 String nodePositionAsStringForTesting(Node*);
77 78
79 TextStream& operator<<(TextStream&, const Color&);
80
78 } // namespace blink 81 } // namespace blink
79 82
80 #endif // RenderTreeAsText_h 83 #endif // RenderTreeAsText_h
OLDNEW
« no previous file with comments | « no previous file | Source/core/rendering/RenderTreeAsText.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698