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 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> |
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 12 matching lines...) Expand all Loading... |
23 | 23 |
24 #include "SVGNames.h" | 24 #include "SVGNames.h" |
25 #include "core/svg/SVGAnimatedString.h" | 25 #include "core/svg/SVGAnimatedString.h" |
26 #include "core/svg/SVGElement.h" | 26 #include "core/svg/SVGElement.h" |
27 | 27 |
28 namespace WebCore { | 28 namespace WebCore { |
29 | 29 |
30 class SVGFEMergeNodeElement FINAL : public SVGElement { | 30 class SVGFEMergeNodeElement FINAL : public SVGElement { |
31 public: | 31 public: |
32 static PassRefPtr<SVGFEMergeNodeElement> create(Document&); | 32 static PassRefPtr<SVGFEMergeNodeElement> create(Document&); |
| 33 SVGAnimatedString* in1() { return m_in1.get(); } |
33 | 34 |
34 private: | 35 private: |
35 explicit SVGFEMergeNodeElement(Document&); | 36 explicit SVGFEMergeNodeElement(Document&); |
36 | 37 |
37 bool isSupportedAttribute(const QualifiedName&); | 38 bool isSupportedAttribute(const QualifiedName&); |
38 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 39 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
39 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 40 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
40 | 41 |
41 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } | 42 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } |
42 | 43 |
| 44 RefPtr<SVGAnimatedString> m_in1; |
43 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEMergeNodeElement) | 45 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFEMergeNodeElement) |
44 DECLARE_ANIMATED_STRING(In1, in1) | |
45 END_DECLARE_ANIMATED_PROPERTIES | 46 END_DECLARE_ANIMATED_PROPERTIES |
46 }; | 47 }; |
47 | 48 |
48 DEFINE_NODE_TYPE_CASTS(SVGFEMergeNodeElement, hasTagName(SVGNames::feMergeNodeTa
g)); | 49 DEFINE_NODE_TYPE_CASTS(SVGFEMergeNodeElement, hasTagName(SVGNames::feMergeNodeTa
g)); |
49 | 50 |
50 } // namespace WebCore | 51 } // namespace WebCore |
51 | 52 |
52 #endif | 53 #endif |
OLD | NEW |