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, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 66 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
67 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 67 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
68 | 68 |
69 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGraphicsElement) | 69 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGraphicsElement) |
70 DECLARE_ANIMATED_TRANSFORM_LIST(Transform, transform) | 70 DECLARE_ANIMATED_TRANSFORM_LIST(Transform, transform) |
71 END_DECLARE_ANIMATED_PROPERTIES | 71 END_DECLARE_ANIMATED_PROPERTIES |
72 | 72 |
73 private: | 73 private: |
74 virtual bool isSVGGraphicsElement() const OVERRIDE FINAL { return true; } | 74 virtual bool isSVGGraphicsElement() const OVERRIDE FINAL { return true; } |
75 | 75 |
76 // SVGTests | |
77 virtual void synchronizeRequiredFeatures() OVERRIDE FINAL { SVGTests::synchr
onizeRequiredFeatures(this); } | |
78 virtual void synchronizeRequiredExtensions() OVERRIDE FINAL { SVGTests::sync
hronizeRequiredExtensions(this); } | |
79 virtual void synchronizeSystemLanguage() OVERRIDE FINAL { SVGTests::synchron
izeSystemLanguage(this); } | |
80 | |
81 // Used by <animateMotion> | 76 // Used by <animateMotion> |
82 OwnPtr<AffineTransform> m_supplementalTransform; | 77 OwnPtr<AffineTransform> m_supplementalTransform; |
83 }; | 78 }; |
84 | 79 |
85 inline bool isSVGGraphicsElement(const Node& node) | 80 inline bool isSVGGraphicsElement(const Node& node) |
86 { | 81 { |
87 return node.isSVGElement() && toSVGElement(node).isSVGGraphicsElement(); | 82 return node.isSVGElement() && toSVGElement(node).isSVGGraphicsElement(); |
88 } | 83 } |
89 | 84 |
90 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); | 85 DEFINE_NODE_TYPE_CASTS_WITH_FUNCTION(SVGGraphicsElement); |
91 | 86 |
92 } // namespace WebCore | 87 } // namespace WebCore |
93 | 88 |
94 #endif // SVGGraphicsElement_h | 89 #endif // SVGGraphicsElement_h |
OLD | NEW |