| 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 15 matching lines...) Expand all Loading... |
| 26 #ifndef SVGLayoutTreeAsText_h | 26 #ifndef SVGLayoutTreeAsText_h |
| 27 #define SVGLayoutTreeAsText_h | 27 #define SVGLayoutTreeAsText_h |
| 28 | 28 |
| 29 #include "platform/text/TextStream.h" | 29 #include "platform/text/TextStream.h" |
| 30 | 30 |
| 31 namespace blink { | 31 namespace blink { |
| 32 | 32 |
| 33 class LayoutObject; | 33 class LayoutObject; |
| 34 class LayoutSVGGradientStop; | 34 class LayoutSVGGradientStop; |
| 35 class LayoutSVGImage; | 35 class LayoutSVGImage; |
| 36 class LayoutSVGInline; |
| 36 class LayoutSVGInlineText; | 37 class LayoutSVGInlineText; |
| 37 class LayoutSVGShape; | 38 class LayoutSVGShape; |
| 38 class LayoutSVGRoot; | 39 class LayoutSVGRoot; |
| 39 class LayoutSVGText; | 40 class LayoutSVGText; |
| 40 | 41 |
| 41 // functions used by the main LayoutTreeAsText code | 42 // functions used by the main LayoutTreeAsText code |
| 42 void write(TextStream&, const LayoutSVGShape&, int indent); | 43 void write(TextStream&, const LayoutSVGShape&, int indent); |
| 43 void write(TextStream&, const LayoutSVGRoot&, int indent); | 44 void write(TextStream&, const LayoutSVGRoot&, int indent); |
| 44 void writeSVGGradientStop(TextStream&, | 45 void writeSVGGradientStop(TextStream&, |
| 45 const LayoutSVGGradientStop&, | 46 const LayoutSVGGradientStop&, |
| 46 int indent); | 47 int indent); |
| 47 void writeSVGResourceContainer(TextStream&, const LayoutObject&, int indent); | 48 void writeSVGResourceContainer(TextStream&, const LayoutObject&, int indent); |
| 48 void writeSVGContainer(TextStream&, const LayoutObject&, int indent); | 49 void writeSVGContainer(TextStream&, const LayoutObject&, int indent); |
| 49 void writeSVGImage(TextStream&, const LayoutSVGImage&, int indent); | 50 void writeSVGImage(TextStream&, const LayoutSVGImage&, int indent); |
| 50 void writeSVGInlineText(TextStream&, const LayoutSVGInlineText&, int indent); | 51 void writeSVGInlineText(TextStream&, const LayoutSVGInlineText&, int indent); |
| 51 void writeSVGText(TextStream&, const LayoutSVGText&, int indent); | 52 void writeSVGText(TextStream&, const LayoutSVGText&, int indent); |
| 53 void writeSVGInline(TextStream&, const LayoutSVGInline&, int indent); |
| 52 void writeResources(TextStream&, const LayoutObject&, int indent); | 54 void writeResources(TextStream&, const LayoutObject&, int indent); |
| 53 | 55 |
| 54 } // namespace blink | 56 } // namespace blink |
| 55 | 57 |
| 56 #endif // SVGLayoutTreeAsText_h | 58 #endif // SVGLayoutTreeAsText_h |
| OLD | NEW |