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 52 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
63 SVGAnimatedTypeAnimator* ensureAnimator(); | 63 SVGAnimatedTypeAnimator* ensureAnimator(); |
64 bool animatedPropertyTypeSupportsAddition() const; | 64 bool animatedPropertyTypeSupportsAddition() const; |
65 | 65 |
66 virtual bool hasValidAttributeType() OVERRIDE; | 66 virtual bool hasValidAttributeType() OVERRIDE; |
67 | 67 |
68 RefPtr<SVGPropertyBase> m_fromProperty; | 68 RefPtr<SVGPropertyBase> m_fromProperty; |
69 RefPtr<SVGPropertyBase> m_toProperty; | 69 RefPtr<SVGPropertyBase> m_toProperty; |
70 RefPtr<SVGPropertyBase> m_toAtEndOfDurationProperty; | 70 RefPtr<SVGPropertyBase> m_toAtEndOfDurationProperty; |
71 RefPtr<SVGPropertyBase> m_animatedProperty; | 71 RefPtr<SVGPropertyBase> m_animatedProperty; |
72 | 72 |
73 WillBeHeapVector<RawPtrWillBeMember<SVGElement> > m_animatedElements; | |
74 OwnPtrWillBeMember<SVGAnimatedTypeAnimator> m_animator; | 73 OwnPtrWillBeMember<SVGAnimatedTypeAnimator> m_animator; |
75 }; | 74 }; |
76 | 75 |
77 inline bool isSVGAnimateElement(const Node& node) | 76 inline bool isSVGAnimateElement(const Node& node) |
78 { | 77 { |
79 return node.hasTagName(SVGNames::animateTag) | 78 return node.hasTagName(SVGNames::animateTag) |
80 || node.hasTagName(SVGNames::animateTransformTag) | 79 || node.hasTagName(SVGNames::animateTransformTag) |
81 || node.hasTagName(SVGNames::setTag); | 80 || node.hasTagName(SVGNames::setTag); |
82 } | 81 } |
83 | 82 |
84 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); | 83 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); |
85 | 84 |
86 } // namespace WebCore | 85 } // namespace WebCore |
87 | 86 |
88 #endif // SVGAnimateElement_h | 87 #endif // SVGAnimateElement_h |
OLD | NEW |