| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 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 24 matching lines...) Expand all Loading... |
| 35 public SVGURIReference { | 35 public SVGURIReference { |
| 36 public: | 36 public: |
| 37 static PassRefPtr<SVGCursorElement> create(Document&); | 37 static PassRefPtr<SVGCursorElement> create(Document&); |
| 38 | 38 |
| 39 virtual ~SVGCursorElement(); | 39 virtual ~SVGCursorElement(); |
| 40 | 40 |
| 41 void addClient(SVGElement*); | 41 void addClient(SVGElement*); |
| 42 void removeClient(SVGElement*); | 42 void removeClient(SVGElement*); |
| 43 void removeReferencedElement(SVGElement*); | 43 void removeReferencedElement(SVGElement*); |
| 44 | 44 |
| 45 SVGAnimatedLength* x() const { return m_x.get(); } |
| 46 SVGAnimatedLength* y() const { return m_y.get(); } |
| 47 |
| 45 private: | 48 private: |
| 46 explicit SVGCursorElement(Document&); | 49 explicit SVGCursorElement(Document&); |
| 47 | 50 |
| 48 virtual bool isValid() const { return SVGTests::isValid(); } | 51 virtual bool isValid() const { return SVGTests::isValid(); } |
| 49 | 52 |
| 50 bool isSupportedAttribute(const QualifiedName&); | 53 bool isSupportedAttribute(const QualifiedName&); |
| 51 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 52 virtual void svgAttributeChanged(const QualifiedName&); | 55 virtual void svgAttributeChanged(const QualifiedName&); |
| 53 | 56 |
| 54 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } | 57 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } |
| 55 | 58 |
| 59 RefPtr<SVGAnimatedLength> m_x; |
| 60 RefPtr<SVGAnimatedLength> m_y; |
| 56 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCursorElement) | 61 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCursorElement) |
| 57 DECLARE_ANIMATED_LENGTH(X, x) | |
| 58 DECLARE_ANIMATED_LENGTH(Y, y) | |
| 59 DECLARE_ANIMATED_STRING(Href, href) | 62 DECLARE_ANIMATED_STRING(Href, href) |
| 60 END_DECLARE_ANIMATED_PROPERTIES | 63 END_DECLARE_ANIMATED_PROPERTIES |
| 61 | 64 |
| 62 // SVGTests | 65 // SVGTests |
| 63 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 66 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
| 64 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 67 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
| 65 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 68 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
| 66 | 69 |
| 67 HashSet<SVGElement*> m_clients; | 70 HashSet<SVGElement*> m_clients; |
| 68 }; | 71 }; |
| 69 | 72 |
| 70 } // namespace WebCore | 73 } // namespace WebCore |
| 71 | 74 |
| 72 #endif | 75 #endif |
| OLD | NEW |