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 14 matching lines...) Expand all Loading... |
25 #include "SVGAnimatedBoolean.h" | 25 #include "SVGAnimatedBoolean.h" |
26 #include "SVGAnimatedPreserveAspectRatio.h" | 26 #include "SVGAnimatedPreserveAspectRatio.h" |
27 #include "SVGAnimatedRect.h" | 27 #include "SVGAnimatedRect.h" |
28 #include "SVGExternalResourcesRequired.h" | 28 #include "SVGExternalResourcesRequired.h" |
29 #include "SVGFitToViewBox.h" | 29 #include "SVGFitToViewBox.h" |
30 #include "SVGLangSpace.h" | 30 #include "SVGLangSpace.h" |
31 #include "SVGStyledElement.h" | 31 #include "SVGStyledElement.h" |
32 | 32 |
33 namespace WebCore { | 33 namespace WebCore { |
34 | 34 |
35 class SVGSymbolElement : public SVGStyledElement, | 35 class SVGSymbolElement FINAL : public SVGStyledElement, |
36 public SVGLangSpace, | 36 public SVGLangSpace, |
37 public SVGExternalResourcesRequired, | 37 public SVGExternalResourcesRequired, |
38 public SVGFitToViewBox { | 38 public SVGFitToViewBox { |
39 public: | 39 public: |
40 static PassRefPtr<SVGSymbolElement> create(const QualifiedName&, Document*); | 40 static PassRefPtr<SVGSymbolElement> create(const QualifiedName&, Document*); |
41 | 41 |
42 private: | 42 private: |
43 SVGSymbolElement(const QualifiedName&, Document*); | 43 SVGSymbolElement(const QualifiedName&, Document*); |
44 | 44 |
45 virtual bool supportsFocus() const { return true; } | 45 virtual bool supportsFocus() const { return true; } |
46 | 46 |
47 bool isSupportedAttribute(const QualifiedName&); | 47 bool isSupportedAttribute(const QualifiedName&); |
48 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 48 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
49 virtual void svgAttributeChanged(const QualifiedName&); | 49 virtual void svgAttributeChanged(const QualifiedName&); |
50 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 50 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
51 | 51 |
52 virtual bool selfHasRelativeLengths() const; | 52 virtual bool selfHasRelativeLengths() const; |
53 | 53 |
54 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSymbolElement) | 54 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGSymbolElement) |
55 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 55 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
56 DECLARE_ANIMATED_RECT(ViewBox, viewBox) | 56 DECLARE_ANIMATED_RECT(ViewBox, viewBox) |
57 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect
Ratio) | 57 DECLARE_ANIMATED_PRESERVEASPECTRATIO(PreserveAspectRatio, preserveAspect
Ratio) |
58 END_DECLARE_ANIMATED_PROPERTIES | 58 END_DECLARE_ANIMATED_PROPERTIES |
59 }; | 59 }; |
60 | 60 |
61 } // namespace WebCore | 61 } // namespace WebCore |
62 | 62 |
63 #endif // ENABLE(SVG) | 63 #endif // ENABLE(SVG) |
64 #endif | 64 #endif |
OLD | NEW |