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 17 matching lines...) Expand all Loading... |
28 #include "wtf/OwnPtr.h" | 28 #include "wtf/OwnPtr.h" |
29 | 29 |
30 namespace WebCore { | 30 namespace WebCore { |
31 | 31 |
32 class SVGAnimatedProperty; | 32 class SVGAnimatedProperty; |
33 class SVGAnimatedType; | 33 class SVGAnimatedType; |
34 class SVGAnimatedTypeAnimator; | 34 class SVGAnimatedTypeAnimator; |
35 | 35 |
36 class SVGAnimateElement : public SVGAnimationElement { | 36 class SVGAnimateElement : public SVGAnimationElement { |
37 public: | 37 public: |
38 static PassRefPtr<SVGAnimateElement> create(const QualifiedName&, Document&)
; | 38 static PassRefPtr<SVGAnimateElement> create(Document&); |
39 virtual ~SVGAnimateElement(); | 39 virtual ~SVGAnimateElement(); |
40 | 40 |
41 AnimatedPropertyType determineAnimatedPropertyType(SVGElement*) const; | 41 AnimatedPropertyType determineAnimatedPropertyType(SVGElement*) const; |
42 | 42 |
43 protected: | 43 protected: |
44 SVGAnimateElement(const QualifiedName&, Document&); | 44 SVGAnimateElement(const QualifiedName&, Document&); |
45 | 45 |
46 virtual void resetAnimatedType(); | 46 virtual void resetAnimatedType(); |
47 virtual void clearAnimatedType(SVGElement* targetElement); | 47 virtual void clearAnimatedType(SVGElement* targetElement); |
48 | 48 |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
81 || element->hasTagName(SVGNames::animateTag) | 81 || element->hasTagName(SVGNames::animateTag) |
82 || element->hasTagName(SVGNames::animateColorTag) | 82 || element->hasTagName(SVGNames::animateColorTag) |
83 || element->hasTagName(SVGNames::animateTransformTag) | 83 || element->hasTagName(SVGNames::animateTransformTag) |
84 || element->hasTagName(SVGNames::setTag)); | 84 || element->hasTagName(SVGNames::setTag)); |
85 return static_cast<SVGAnimateElement*>(element); | 85 return static_cast<SVGAnimateElement*>(element); |
86 } | 86 } |
87 | 87 |
88 } // namespace WebCore | 88 } // namespace WebCore |
89 | 89 |
90 #endif // SVGAnimateElement_h | 90 #endif // SVGAnimateElement_h |
OLD | NEW |