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 15 matching lines...) Expand all Loading... |
26 #include "core/SVGNames.h" | 26 #include "core/SVGNames.h" |
27 #include "core/svg/SVGAnimatedTypeAnimator.h" | 27 #include "core/svg/SVGAnimatedTypeAnimator.h" |
28 #include "core/svg/SVGAnimationElement.h" | 28 #include "core/svg/SVGAnimationElement.h" |
29 #include "wtf/OwnPtr.h" | 29 #include "wtf/OwnPtr.h" |
30 | 30 |
31 namespace blink { | 31 namespace blink { |
32 | 32 |
33 class SVGAnimatedTypeAnimator; | 33 class SVGAnimatedTypeAnimator; |
34 | 34 |
35 class SVGAnimateElement : public SVGAnimationElement { | 35 class SVGAnimateElement : public SVGAnimationElement { |
| 36 DEFINE_WRAPPERTYPEINFO(); |
36 public: | 37 public: |
37 static PassRefPtrWillBeRawPtr<SVGAnimateElement> create(Document&); | 38 static PassRefPtrWillBeRawPtr<SVGAnimateElement> create(Document&); |
38 virtual ~SVGAnimateElement(); | 39 virtual ~SVGAnimateElement(); |
39 | 40 |
40 virtual void trace(Visitor*) OVERRIDE; | 41 virtual void trace(Visitor*) OVERRIDE; |
41 | 42 |
42 AnimatedPropertyType animatedPropertyType(); | 43 AnimatedPropertyType animatedPropertyType(); |
43 bool animatedPropertyTypeSupportsAddition(); | 44 bool animatedPropertyTypeSupportsAddition(); |
44 | 45 |
45 protected: | 46 protected: |
(...skipping 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
78 return element.hasTagName(SVGNames::animateTag) | 79 return element.hasTagName(SVGNames::animateTag) |
79 || element.hasTagName(SVGNames::animateTransformTag) | 80 || element.hasTagName(SVGNames::animateTransformTag) |
80 || element.hasTagName(SVGNames::setTag); | 81 || element.hasTagName(SVGNames::setTag); |
81 } | 82 } |
82 | 83 |
83 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); | 84 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGAnimateElement); |
84 | 85 |
85 } // namespace blink | 86 } // namespace blink |
86 | 87 |
87 #endif // SVGAnimateElement_h | 88 #endif // SVGAnimateElement_h |
OLD | NEW |