| 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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
| 4 * Copyright (C) 2008 Apple Inc. All rights reserved. | 4 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2011. All rights reserved. |
| 6 * | 6 * |
| 7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
| 8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
| 9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
| 10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
| (...skipping 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 56 | 56 |
| 57 AnimatedPropertyType m_animatedPropertyType; | 57 AnimatedPropertyType m_animatedPropertyType; |
| 58 | 58 |
| 59 private: | 59 private: |
| 60 void resetAnimatedPropertyType(); | 60 void resetAnimatedPropertyType(); |
| 61 SVGAnimatedTypeAnimator* ensureAnimator(); | 61 SVGAnimatedTypeAnimator* ensureAnimator(); |
| 62 bool animatedPropertyTypeSupportsAddition() const; | 62 bool animatedPropertyTypeSupportsAddition() const; |
| 63 | 63 |
| 64 virtual bool hasValidAttributeType() OVERRIDE; | 64 virtual bool hasValidAttributeType() OVERRIDE; |
| 65 | 65 |
| 66 RefPtr<NewSVGPropertyBase> m_fromProperty; | 66 RefPtr<SVGPropertyBase> m_fromProperty; |
| 67 RefPtr<NewSVGPropertyBase> m_toProperty; | 67 RefPtr<SVGPropertyBase> m_toProperty; |
| 68 RefPtr<NewSVGPropertyBase> m_toAtEndOfDurationProperty; | 68 RefPtr<SVGPropertyBase> m_toAtEndOfDurationProperty; |
| 69 RefPtr<NewSVGPropertyBase> m_animatedProperty; | 69 RefPtr<SVGPropertyBase> m_animatedProperty; |
| 70 | 70 |
| 71 Vector<SVGElement*> m_animatedElements; | 71 Vector<SVGElement*> m_animatedElements; |
| 72 OwnPtr<SVGAnimatedTypeAnimator> m_animator; | 72 OwnPtr<SVGAnimatedTypeAnimator> m_animator; |
| 73 }; | 73 }; |
| 74 | 74 |
| 75 inline bool isSVGAnimateElement(const Node& node) | 75 inline bool isSVGAnimateElement(const Node& node) |
| 76 { | 76 { |
| 77 return node.hasTagName(SVGNames::animateTag) | 77 return node.hasTagName(SVGNames::animateTag) |
| 78 || node.hasTagName(SVGNames::animateTransformTag) | 78 || node.hasTagName(SVGNames::animateTransformTag) |
| 79 || node.hasTagName(SVGNames::setTag); | 79 || node.hasTagName(SVGNames::setTag); |
| 80 } | 80 } |
| 81 | 81 |
| 82 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); | 82 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); |
| 83 | 83 |
| 84 } // namespace WebCore | 84 } // namespace WebCore |
| 85 | 85 |
| 86 #endif // SVGAnimateElement_h | 86 #endif // SVGAnimateElement_h |
| OLD | NEW |