OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 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 22 matching lines...) Expand all Loading... |
33 namespace WebCore { | 33 namespace WebCore { |
34 | 34 |
35 class SVGSymbolElement : public SVGStyledElement, | 35 class SVGSymbolElement : public SVGStyledElement, |
36 public SVGLangSpace, | 36 public SVGLangSpace, |
37 public SVGExternalResourcesRequired, | 37 public SVGExternalResourcesRequired, |
38 public SVGFitToViewBox { | 38 public SVGFitToViewBox { |
39 DEFINE_SELF_HANDLE(SVGSymbolElement) | 39 DEFINE_SELF_HANDLE(SVGSymbolElement) |
40 public: | 40 public: |
41 static PassRefPtr<SVGSymbolElement> create(const QualifiedName&, const Handl
e<Document>&); | 41 static PassRefPtr<SVGSymbolElement> create(const QualifiedName&, const Handl
e<Document>&); |
42 | 42 |
| 43 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledElement::acc
ept(visitor); } |
| 44 |
43 private: | 45 private: |
44 SVGSymbolElement(const QualifiedName&, const Handle<Document>&); | 46 SVGSymbolElement(const QualifiedName&, const Handle<Document>&); |
45 | 47 |
46 virtual bool supportsFocus() const { return true; } | 48 virtual bool supportsFocus() const { return true; } |
47 | 49 |
48 bool isSupportedAttribute(const QualifiedName&); | 50 bool isSupportedAttribute(const QualifiedName&); |
49 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 51 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
50 virtual void svgAttributeChanged(const QualifiedName&); | 52 virtual void svgAttributeChanged(const QualifiedName&); |
51 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 53 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
52 | 54 |
53 virtual bool selfHasRelativeLengths() const; | 55 virtual bool selfHasRelativeLengths() const; |
54 | 56 |
55 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSymbolElement) | 57 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSymbolElement) |
56 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 58 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
57 DECLARE_ANIMATED_RECT(ViewBox, viewBox) | 59 DECLARE_ANIMATED_RECT(ViewBox, viewBox) |
58 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect
Ratio) | 60 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect
Ratio) |
59 END_DECLARE_ANIMATED_PROPERTIES | 61 END_DECLARE_ANIMATED_PROPERTIES |
60 }; | 62 }; |
61 | 63 |
62 } // namespace WebCore | 64 } // namespace WebCore |
63 | 65 |
64 #endif // ENABLE(SVG) | 66 #endif // ENABLE(SVG) |
65 #endif | 67 #endif |
OLD | NEW |