OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
4 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 13 matching lines...) Expand all Loading... |
24 #if ENABLE(SVG) | 24 #if ENABLE(SVG) |
25 #include "core/svg/SVGTextPositioningElement.h" | 25 #include "core/svg/SVGTextPositioningElement.h" |
26 | 26 |
27 namespace WebCore { | 27 namespace WebCore { |
28 | 28 |
29 class SVGTSpanElement : public SVGTextPositioningElement { | 29 class SVGTSpanElement : public SVGTextPositioningElement { |
30 DEFINE_SELF_HANDLE(SVGTSpanElement) | 30 DEFINE_SELF_HANDLE(SVGTSpanElement) |
31 public: | 31 public: |
32 static PassRefPtr<SVGTSpanElement> create(const QualifiedName&, const Handle
<Document>&); | 32 static PassRefPtr<SVGTSpanElement> create(const QualifiedName&, const Handle
<Document>&); |
33 | 33 |
| 34 virtual void accept(Visitor* visitor) const OVERRIDE { SVGTextPositioningEle
ment::accept(visitor); } |
| 35 |
34 private: | 36 private: |
35 SVGTSpanElement(const QualifiedName&, const Handle<Document>&); | 37 SVGTSpanElement(const QualifiedName&, const Handle<Document>&); |
36 | 38 |
37 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 39 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
38 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; | 40 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const; |
39 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 41 virtual bool rendererIsNeeded(const NodeRenderingContext&); |
40 }; | 42 }; |
41 | 43 |
42 } // namespace WebCore | 44 } // namespace WebCore |
43 | 45 |
44 #endif // ENABLE(SVG) | 46 #endif // ENABLE(SVG) |
45 #endif | 47 #endif |
OLD | NEW |