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 17 matching lines...) Expand all Loading... |
28 namespace WebCore { | 28 namespace WebCore { |
29 | 29 |
30 class SVGAnimateMotionElement : public SVGAnimationElement { | 30 class SVGAnimateMotionElement : public SVGAnimationElement { |
31 public: | 31 public: |
32 static PassRefPtr<SVGAnimateMotionElement> create(const QualifiedName&, Docu
ment*); | 32 static PassRefPtr<SVGAnimateMotionElement> create(const QualifiedName&, Docu
ment*); |
33 | 33 |
34 private: | 34 private: |
35 SVGAnimateMotionElement(const QualifiedName&, Document*); | 35 SVGAnimateMotionElement(const QualifiedName&, Document*); |
36 | 36 |
37 virtual bool hasValidAttributeType(); | 37 virtual bool hasValidAttributeType(); |
| 38 virtual bool hasValidAttributeName(); |
38 | 39 |
39 bool isSupportedAttribute(const QualifiedName&); | 40 bool isSupportedAttribute(const QualifiedName&); |
40 virtual void parseAttribute(const Attribute&) OVERRIDE; | 41 virtual void parseAttribute(const Attribute&) OVERRIDE; |
41 | 42 |
42 virtual void resetAnimatedType(); | 43 virtual void resetAnimatedType(); |
43 virtual void clearAnimatedType(SVGElement* targetElement); | 44 virtual void clearAnimatedType(SVGElement* targetElement); |
44 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration
String); | 45 virtual bool calculateToAtEndOfDurationValue(const String& toAtEndOfDuration
String); |
45 virtual bool calculateFromAndToValues(const String& fromString, const String
& toString); | 46 virtual bool calculateFromAndToValues(const String& fromString, const String
& toString); |
46 virtual bool calculateFromAndByValues(const String& fromString, const String
& byString); | 47 virtual bool calculateFromAndByValues(const String& fromString, const String
& byString); |
47 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
SVGSMILElement* resultElement); | 48 virtual void calculateAnimatedValue(float percentage, unsigned repeatCount,
SVGSMILElement* resultElement); |
(...skipping 16 matching lines...) Expand all Loading... |
64 FloatPoint m_toPoint; | 65 FloatPoint m_toPoint; |
65 FloatPoint m_toPointAtEndOfDuration; | 66 FloatPoint m_toPointAtEndOfDuration; |
66 | 67 |
67 Path m_path; | 68 Path m_path; |
68 }; | 69 }; |
69 | 70 |
70 } // namespace WebCore | 71 } // namespace WebCore |
71 | 72 |
72 #endif // ENABLE(SVG) | 73 #endif // ENABLE(SVG) |
73 #endif // SVGAnimateMotionElement_h | 74 #endif // SVGAnimateMotionElement_h |
OLD | NEW |