| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2009 Apple Inc. All rights reserved. | 2 * Copyright (C) 2004, 2005, 2009 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 SVGRenderTreeAsText_h | 26 #ifndef SVGRenderTreeAsText_h |
| 27 #define SVGRenderTreeAsText_h | 27 #define SVGRenderTreeAsText_h |
| 28 | 28 |
| 29 #include "platform/text/TextStream.h" | 29 #include "platform/text/TextStream.h" |
| 30 | 30 |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 class Color; | 33 class Color; |
| 34 class FloatRect; | |
| 35 class FloatSize; | |
| 36 class Node; | |
| 37 class RenderImage; | |
| 38 class RenderObject; | 34 class RenderObject; |
| 39 class RenderSVGGradientStop; | 35 class RenderSVGGradientStop; |
| 40 class RenderSVGImage; | 36 class RenderSVGImage; |
| 41 class RenderSVGInlineText; | 37 class RenderSVGInlineText; |
| 42 class RenderSVGShape; | 38 class RenderSVGShape; |
| 43 class RenderSVGRoot; | 39 class RenderSVGRoot; |
| 44 class RenderSVGText; | 40 class RenderSVGText; |
| 45 class AffineTransform; | 41 class AffineTransform; |
| 46 class SVGUnitTypes; | |
| 47 | 42 |
| 48 // functions used by the main RenderTreeAsText code | 43 // functions used by the main RenderTreeAsText code |
| 49 void write(TextStream&, const RenderSVGShape&, int indent); | 44 void write(TextStream&, const RenderSVGShape&, int indent); |
| 50 void write(TextStream&, const RenderSVGRoot&, int indent); | 45 void write(TextStream&, const RenderSVGRoot&, int indent); |
| 51 void writeSVGGradientStop(TextStream&, const RenderSVGGradientStop&, int indent)
; | 46 void writeSVGGradientStop(TextStream&, const RenderSVGGradientStop&, int indent)
; |
| 52 void writeSVGResourceContainer(TextStream&, const RenderObject&, int indent); | 47 void writeSVGResourceContainer(TextStream&, const RenderObject&, int indent); |
| 53 void writeSVGContainer(TextStream&, const RenderObject&, int indent); | 48 void writeSVGContainer(TextStream&, const RenderObject&, int indent); |
| 54 void writeSVGImage(TextStream&, const RenderSVGImage&, int indent); | 49 void writeSVGImage(TextStream&, const RenderSVGImage&, int indent); |
| 55 void writeSVGInlineText(TextStream&, const RenderSVGInlineText&, int indent); | 50 void writeSVGInlineText(TextStream&, const RenderSVGInlineText&, int indent); |
| 56 void writeSVGText(TextStream&, const RenderSVGText&, int indent); | 51 void writeSVGText(TextStream&, const RenderSVGText&, int indent); |
| (...skipping 24 matching lines...) Expand all Loading... |
| 81 template<typename Pointer> | 76 template<typename Pointer> |
| 82 TextStream& operator<<(TextStream& ts, Pointer* t) | 77 TextStream& operator<<(TextStream& ts, Pointer* t) |
| 83 { | 78 { |
| 84 ts << reinterpret_cast<intptr_t>(t); | 79 ts << reinterpret_cast<intptr_t>(t); |
| 85 return ts; | 80 return ts; |
| 86 } | 81 } |
| 87 | 82 |
| 88 } // namespace WebCore | 83 } // namespace WebCore |
| 89 | 84 |
| 90 #endif // SVGRenderTreeAsText_h | 85 #endif // SVGRenderTreeAsText_h |
| OLD | NEW |