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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 15 matching lines...) Expand all Loading... |
26 #include "core/svg/SVGExternalResourcesRequired.h" | 26 #include "core/svg/SVGExternalResourcesRequired.h" |
27 #include "core/svg/SVGGraphicsElement.h" | 27 #include "core/svg/SVGGraphicsElement.h" |
28 #include "core/svg/SVGURIReference.h" | 28 #include "core/svg/SVGURIReference.h" |
29 | 29 |
30 namespace WebCore { | 30 namespace WebCore { |
31 | 31 |
32 class SVGAElement FINAL : public SVGGraphicsElement, | 32 class SVGAElement FINAL : public SVGGraphicsElement, |
33 public SVGURIReference, | 33 public SVGURIReference, |
34 public SVGExternalResourcesRequired { | 34 public SVGExternalResourcesRequired { |
35 public: | 35 public: |
36 static PassRefPtr<SVGAElement> create(const QualifiedName&, Document*); | 36 static PassRefPtr<SVGAElement> create(const QualifiedName&, Document&); |
37 | 37 |
38 private: | 38 private: |
39 SVGAElement(const QualifiedName&, Document*); | 39 SVGAElement(const QualifiedName&, Document&); |
40 | 40 |
41 virtual bool isValid() const { return SVGTests::isValid(); } | 41 virtual bool isValid() const { return SVGTests::isValid(); } |
42 | 42 |
43 virtual String title() const; | 43 virtual String title() const; |
44 virtual String target() const { return svgTargetCurrentValue(); } | 44 virtual String target() const { return svgTargetCurrentValue(); } |
45 | 45 |
46 bool isSupportedAttribute(const QualifiedName&); | 46 bool isSupportedAttribute(const QualifiedName&); |
47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
48 virtual void svgAttributeChanged(const QualifiedName&); | 48 virtual void svgAttributeChanged(const QualifiedName&); |
49 | 49 |
(...skipping 14 matching lines...) Expand all Loading... |
64 // That's why it has been renamed to "svgTarget", the CodeGenerators tak
e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener
ator.pm. | 64 // That's why it has been renamed to "svgTarget", the CodeGenerators tak
e care of calling svgTargetAnimated() instead of targetAnimated(), see CodeGener
ator.pm. |
65 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) | 65 DECLARE_ANIMATED_STRING(SVGTarget, svgTarget) |
66 DECLARE_ANIMATED_STRING(Href, href) | 66 DECLARE_ANIMATED_STRING(Href, href) |
67 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 67 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
68 END_DECLARE_ANIMATED_PROPERTIES | 68 END_DECLARE_ANIMATED_PROPERTIES |
69 }; | 69 }; |
70 | 70 |
71 } // namespace WebCore | 71 } // namespace WebCore |
72 | 72 |
73 #endif // SVGAElement_h | 73 #endif // SVGAElement_h |
OLD | NEW |