OLD | NEW |
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 Loading... |
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 Loading... |
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 |
OLD | NEW |