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 16 matching lines...) Expand all Loading... |
27 #include "core/svg/SVGTransform.h" | 27 #include "core/svg/SVGTransform.h" |
28 | 28 |
29 namespace blink { | 29 namespace blink { |
30 | 30 |
31 class SVGAnimateTransformElement final : public SVGAnimateElement { | 31 class SVGAnimateTransformElement final : public SVGAnimateElement { |
32 DEFINE_WRAPPERTYPEINFO(); | 32 DEFINE_WRAPPERTYPEINFO(); |
33 | 33 |
34 public: | 34 public: |
35 DECLARE_NODE_FACTORY(SVGAnimateTransformElement); | 35 DECLARE_NODE_FACTORY(SVGAnimateTransformElement); |
36 | 36 |
37 SVGTransformType transformType() const { return m_type; } | |
38 | |
39 private: | 37 private: |
40 explicit SVGAnimateTransformElement(Document&); | 38 explicit SVGAnimateTransformElement(Document&); |
41 | 39 |
42 bool hasValidAttributeType() override; | 40 bool hasValidAttributeType() override; |
43 | 41 |
44 void parseAttribute(const QualifiedName&, | 42 void parseAttribute(const QualifiedName&, |
45 const AtomicString&, | 43 const AtomicString&, |
46 const AtomicString&) override; | 44 const AtomicString&) override; |
47 | 45 |
48 SVGTransformType m_type; | 46 void resolveTargetProperty() override; |
| 47 SVGPropertyBase* createPropertyForAnimation(const String&) const override; |
| 48 |
| 49 SVGTransformType m_transformType; |
49 }; | 50 }; |
50 | 51 |
51 } // namespace blink | 52 } // namespace blink |
52 | 53 |
53 #endif // SVGAnimateTransformElement_h | 54 #endif // SVGAnimateTransformElement_h |
OLD | NEW |