| 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 21 matching lines...) Expand all Loading... |
| 32 namespace WebCore { | 32 namespace WebCore { |
| 33 | 33 |
| 34 class SVGAnimatedProperty; | 34 class SVGAnimatedProperty; |
| 35 | 35 |
| 36 class SVGAnimateElement : public SVGAnimationElement { | 36 class SVGAnimateElement : public SVGAnimationElement { |
| 37 public: | 37 public: |
| 38 static PassRefPtr<SVGAnimateElement> create(const QualifiedName&, const Hand
le<Document>&); | 38 static PassRefPtr<SVGAnimateElement> create(const QualifiedName&, const Hand
le<Document>&); |
| 39 virtual ~SVGAnimateElement(); | 39 virtual ~SVGAnimateElement(); |
| 40 | 40 |
| 41 AnimatedPropertyType determineAnimatedPropertyType(SVGElement*) const; | 41 AnimatedPropertyType determineAnimatedPropertyType(SVGElement*) const; |
| 42 | 42 |
| 43 virtual void accept(Visitor* visitor) const OVERRIDE { SVGAnimationElement::
accept(visitor); } |
| 44 |
| 43 protected: | 45 protected: |
| 44 SVGAnimateElement(const QualifiedName&, const Handle<Document>&); | 46 SVGAnimateElement(const QualifiedName&, const Handle<Document>&); |
| 45 | 47 |
| 46 virtual void resetAnimatedType(); | 48 virtual void resetAnimatedType(); |
| 47 virtual void clearAnimatedType(SVGElement* targetElement); | 49 virtual void clearAnimatedType(SVGElement* targetElement); |
| 48 | 50 |
| 49 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration
String); | 51 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration
String); |
| 50 virtual bool calculateFromAndToValues(const String& fromString, const String
& toString); | 52 virtual bool calculateFromAndToValues(const String& fromString, const String
& toString); |
| 51 virtual bool calculateFromAndByValues(const String& fromString, const String
& byString); | 53 virtual bool calculateFromAndByValues(const String& fromString, const String
& byString); |
| 52 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
SVGSMILElement* resultElement); | 54 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
SVGSMILElement* resultElement); |
| (...skipping 18 matching lines...) Expand all Loading... |
| 71 OwnPtr<SVGAnimatedType> m_animatedType; | 73 OwnPtr<SVGAnimatedType> m_animatedType; |
| 72 | 74 |
| 73 SVGElementAnimatedPropertyList m_animatedProperties; | 75 SVGElementAnimatedPropertyList m_animatedProperties; |
| 74 OwnPtr<SVGAnimatedTypeAnimator> m_animator; | 76 OwnPtr<SVGAnimatedTypeAnimator> m_animator; |
| 75 }; | 77 }; |
| 76 | 78 |
| 77 } // namespace WebCore | 79 } // namespace WebCore |
| 78 | 80 |
| 79 #endif // ENABLE(SVG) | 81 #endif // ENABLE(SVG) |
| 80 #endif // SVGAnimateElement_h | 82 #endif // SVGAnimateElement_h |
| OLD | NEW |