| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
| 3 * Copyright (C) 2008 Apple Inc. All rights reserved. | 3 * Copyright (C) 2008 Apple Inc. All rights reserved. |
| 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 21 matching lines...) Expand all Loading... |
| 32 | 32 |
| 33 DECLARE_NODE_FACTORY(SVGAnimateMotionElement); | 33 DECLARE_NODE_FACTORY(SVGAnimateMotionElement); |
| 34 void updateAnimationPath(); | 34 void updateAnimationPath(); |
| 35 | 35 |
| 36 private: | 36 private: |
| 37 explicit SVGAnimateMotionElement(Document&); | 37 explicit SVGAnimateMotionElement(Document&); |
| 38 | 38 |
| 39 virtual bool hasValidAttributeType() OVERRIDE; | 39 virtual bool hasValidAttributeType() OVERRIDE; |
| 40 virtual bool hasValidAttributeName() OVERRIDE; | 40 virtual bool hasValidAttributeName() OVERRIDE; |
| 41 | 41 |
| 42 bool isSupportedAttribute(const QualifiedName&); | |
| 43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 44 | 43 |
| 45 virtual void resetAnimatedType() OVERRIDE; | 44 virtual void resetAnimatedType() OVERRIDE; |
| 46 virtual void clearAnimatedType(SVGElement* targetElement) OVERRIDE; | 45 virtual void clearAnimatedType(SVGElement* targetElement) OVERRIDE; |
| 47 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration
String) OVERRIDE; | 46 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration
String) OVERRIDE; |
| 48 virtual bool calculateFromAndToValues(const String& fromString, const String
& toString) OVERRIDE; | 47 virtual bool calculateFromAndToValues(const String& fromString, const String
& toString) OVERRIDE; |
| 49 virtual bool calculateFromAndByValues(const String& fromString, const String
& byString) OVERRIDE; | 48 virtual bool calculateFromAndByValues(const String& fromString, const String
& byString) OVERRIDE; |
| 50 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
SVGSMILElement* resultElement) OVERRIDE; | 49 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
SVGSMILElement* resultElement) OVERRIDE; |
| 51 virtual void applyResultsToTarget() OVERRIDE; | 50 virtual void applyResultsToTarget() OVERRIDE; |
| 52 virtual float calculateDistance(const String& fromString, const String& toSt
ring) OVERRIDE; | 51 virtual float calculateDistance(const String& fromString, const String& toSt
ring) OVERRIDE; |
| (...skipping 14 matching lines...) Expand all Loading... |
| 67 FloatPoint m_toPoint; | 66 FloatPoint m_toPoint; |
| 68 FloatPoint m_toPointAtEndOfDuration; | 67 FloatPoint m_toPointAtEndOfDuration; |
| 69 | 68 |
| 70 Path m_path; | 69 Path m_path; |
| 71 Path m_animationPath; | 70 Path m_animationPath; |
| 72 }; | 71 }; |
| 73 | 72 |
| 74 } // namespace blink | 73 } // namespace blink |
| 75 | 74 |
| 76 #endif // SVGAnimateMotionElement_h | 75 #endif // SVGAnimateMotionElement_h |
| OLD | NEW |