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, 2006, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> | 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> |
5 * Copyright (C) 2008 Apple Inc. All rights reserved. | 5 * Copyright (C) 2008 Apple Inc. 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 10 matching lines...) Expand all Loading... |
21 */ | 21 */ |
22 | 22 |
23 #ifndef SVGAnimateTransformElement_h | 23 #ifndef SVGAnimateTransformElement_h |
24 #define SVGAnimateTransformElement_h | 24 #define SVGAnimateTransformElement_h |
25 | 25 |
26 #include "core/svg/SVGAnimateElement.h" | 26 #include "core/svg/SVGAnimateElement.h" |
27 #include "core/svg/SVGTransform.h" | 27 #include "core/svg/SVGTransform.h" |
28 | 28 |
29 namespace WebCore { | 29 namespace WebCore { |
30 | 30 |
31 class AffineTransform; | |
32 | |
33 class SVGAnimateTransformElement FINAL : public SVGAnimateElement { | 31 class SVGAnimateTransformElement FINAL : public SVGAnimateElement { |
34 public: | 32 public: |
35 DECLARE_NODE_FACTORY(SVGAnimateTransformElement); | 33 DECLARE_NODE_FACTORY(SVGAnimateTransformElement); |
36 | 34 |
37 SVGTransformType transformType() const { return m_type; } | 35 SVGTransformType transformType() const { return m_type; } |
38 | 36 |
39 private: | 37 private: |
40 explicit SVGAnimateTransformElement(Document&); | 38 explicit SVGAnimateTransformElement(Document&); |
41 | 39 |
42 virtual bool hasValidAttributeType() OVERRIDE; | 40 virtual bool hasValidAttributeType() OVERRIDE; |
43 | 41 |
44 bool isSupportedAttribute(const QualifiedName&); | 42 bool isSupportedAttribute(const QualifiedName&); |
45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 43 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
46 | 44 |
47 SVGTransformType m_type; | 45 SVGTransformType m_type; |
48 }; | 46 }; |
49 | 47 |
50 } // namespace WebCore | 48 } // namespace WebCore |
51 | 49 |
52 #endif // SVGAnimateTransformElement_h | 50 #endif // SVGAnimateTransformElement_h |
OLD | NEW |