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 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
42 void addClient(SVGElement*); | 42 void addClient(SVGElement*); |
43 void removeClient(SVGElement*); | 43 void removeClient(SVGElement*); |
44 void removeReferencedElement(SVGElement*); | 44 void removeReferencedElement(SVGElement*); |
45 | 45 |
46 SVGAnimatedLength* x() const { return m_x.get(); } | 46 SVGAnimatedLength* x() const { return m_x.get(); } |
47 SVGAnimatedLength* y() const { return m_y.get(); } | 47 SVGAnimatedLength* y() const { return m_y.get(); } |
48 | 48 |
49 private: | 49 private: |
50 explicit SVGCursorElement(Document&); | 50 explicit SVGCursorElement(Document&); |
51 | 51 |
52 virtual bool isValid() const { return SVGTests::isValid(); } | 52 virtual bool isValid() const OVERRIDE { return SVGTests::isValid(); } |
53 | 53 |
54 bool isSupportedAttribute(const QualifiedName&); | 54 bool isSupportedAttribute(const QualifiedName&); |
55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 55 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
56 virtual void svgAttributeChanged(const QualifiedName&); | 56 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
57 | 57 |
58 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } | 58 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } |
59 | 59 |
60 RefPtr<SVGAnimatedLength> m_x; | 60 RefPtr<SVGAnimatedLength> m_x; |
61 RefPtr<SVGAnimatedLength> m_y; | 61 RefPtr<SVGAnimatedLength> m_y; |
62 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCursorElement) | 62 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGCursorElement) |
63 DECLARE_ANIMATED_STRING(Href, href) | 63 DECLARE_ANIMATED_STRING(Href, href) |
64 END_DECLARE_ANIMATED_PROPERTIES | 64 END_DECLARE_ANIMATED_PROPERTIES |
65 | 65 |
66 // SVGTests | 66 // SVGTests |
67 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 67 virtual void synchronizeRequiredFeatures() OVERRIDE { SVGTests::synchronizeR
equiredFeatures(this); } |
68 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 68 virtual void synchronizeRequiredExtensions() OVERRIDE { SVGTests::synchroniz
eRequiredExtensions(this); } |
69 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 69 virtual void synchronizeSystemLanguage() OVERRIDE { SVGTests::synchronizeSys
temLanguage(this); } |
70 | 70 |
71 HashSet<SVGElement*> m_clients; | 71 HashSet<SVGElement*> m_clients; |
72 }; | 72 }; |
73 | 73 |
74 DEFINE_NODE_TYPE_CASTS(SVGCursorElement, hasTagName(SVGNames::cursorTag)); | 74 DEFINE_NODE_TYPE_CASTS(SVGCursorElement, hasTagName(SVGNames::cursorTag)); |
75 | 75 |
76 } // namespace WebCore | 76 } // namespace WebCore |
77 | 77 |
78 #endif | 78 #endif |
OLD | NEW |