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 14 matching lines...) Expand all Loading... |
25 #include "core/platform/graphics/transforms/AffineTransform.h" | 25 #include "core/platform/graphics/transforms/AffineTransform.h" |
26 #include "core/svg/SVGAnimationElement.h" | 26 #include "core/svg/SVGAnimationElement.h" |
27 | 27 |
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&, cons
t Handle<Document>&); | 32 static PassRefPtr<SVGAnimateMotionElement> create(const QualifiedName&, cons
t Handle<Document>&); |
33 void updateAnimationPath(); | 33 void updateAnimationPath(); |
34 | 34 |
| 35 virtual void accept(Visitor* visitor) const OVERRIDE { SVGAnimationElement::
accept(visitor); } |
| 36 |
35 private: | 37 private: |
36 SVGAnimateMotionElement(const QualifiedName&, const Handle<Document>&); | 38 SVGAnimateMotionElement(const QualifiedName&, const Handle<Document>&); |
37 | 39 |
38 virtual bool hasValidAttributeType(); | 40 virtual bool hasValidAttributeType(); |
39 virtual bool hasValidAttributeName(); | 41 virtual bool hasValidAttributeName(); |
40 | 42 |
41 bool isSupportedAttribute(const QualifiedName&); | 43 bool isSupportedAttribute(const QualifiedName&); |
42 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 44 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
43 | 45 |
44 virtual void resetAnimatedType(); | 46 virtual void resetAnimatedType(); |
(...skipping 23 matching lines...) Expand all Loading... |
68 FloatPoint m_toPointAtEndOfDuration; | 70 FloatPoint m_toPointAtEndOfDuration; |
69 | 71 |
70 Path m_path; | 72 Path m_path; |
71 Path m_animationPath; | 73 Path m_animationPath; |
72 }; | 74 }; |
73 | 75 |
74 } // namespace WebCore | 76 } // namespace WebCore |
75 | 77 |
76 #endif // ENABLE(SVG) | 78 #endif // ENABLE(SVG) |
77 #endif // SVGAnimateMotionElement_h | 79 #endif // SVGAnimateMotionElement_h |
OLD | NEW |