OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
56 DECLARE_NODE_FACTORY(SVGFEBlendElement); | 56 DECLARE_NODE_FACTORY(SVGFEBlendElement); |
57 SVGAnimatedString* in1() { return m_in1.get(); } | 57 SVGAnimatedString* in1() { return m_in1.get(); } |
58 SVGAnimatedString* in2() { return m_in2.get(); } | 58 SVGAnimatedString* in2() { return m_in2.get(); } |
59 SVGAnimatedEnumeration<Mode>* mode() { return m_mode.get(); } | 59 SVGAnimatedEnumeration<Mode>* mode() { return m_mode.get(); } |
60 | 60 |
61 DECLARE_VIRTUAL_TRACE(); | 61 DECLARE_VIRTUAL_TRACE(); |
62 | 62 |
63 private: | 63 private: |
64 explicit SVGFEBlendElement(Document&); | 64 explicit SVGFEBlendElement(Document&); |
65 | 65 |
66 bool isSupportedAttribute(const QualifiedName&); | |
67 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& at
trName) override; | 66 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName& at
trName) override; |
68 virtual void svgAttributeChanged(const QualifiedName&) override; | 67 virtual void svgAttributeChanged(const QualifiedName&) override; |
69 virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter
*) override; | 68 virtual PassRefPtrWillBeRawPtr<FilterEffect> build(SVGFilterBuilder*, Filter
*) override; |
70 | 69 |
71 RefPtrWillBeMember<SVGAnimatedString> m_in1; | 70 RefPtrWillBeMember<SVGAnimatedString> m_in1; |
72 RefPtrWillBeMember<SVGAnimatedString> m_in2; | 71 RefPtrWillBeMember<SVGAnimatedString> m_in2; |
73 RefPtrWillBeMember<SVGAnimatedEnumeration<Mode>> m_mode; | 72 RefPtrWillBeMember<SVGAnimatedEnumeration<Mode>> m_mode; |
74 }; | 73 }; |
75 | 74 |
76 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGFEBlendE
lement::Mode>(); | 75 template<> const SVGEnumerationStringEntries& getStaticStringEntries<SVGFEBlendE
lement::Mode>(); |
77 template<> unsigned short getMaxExposedEnumValue<SVGFEBlendElement::Mode>(); | 76 template<> unsigned short getMaxExposedEnumValue<SVGFEBlendElement::Mode>(); |
78 | 77 |
79 } // namespace blink | 78 } // namespace blink |
80 | 79 |
81 #endif // SVGFEBlendElement_h | 80 #endif // SVGFEBlendElement_h |
OLD | NEW |