Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(273)

Side by Side Diff: Source/core/svg/SVGFECompositeElement.h

Issue 148173018: [SVG] SVGAnimatedString{,List} migration to new SVG property impl. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove debug print Created 6 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch | Annotate | Revision Log
OLDNEW
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 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
74 }; 74 };
75 75
76 class SVGFECompositeElement FINAL : public SVGFilterPrimitiveStandardAttributes { 76 class SVGFECompositeElement FINAL : public SVGFilterPrimitiveStandardAttributes {
77 public: 77 public:
78 static PassRefPtr<SVGFECompositeElement> create(Document&); 78 static PassRefPtr<SVGFECompositeElement> create(Document&);
79 79
80 SVGAnimatedNumber* k1() { return m_k1.get(); } 80 SVGAnimatedNumber* k1() { return m_k1.get(); }
81 SVGAnimatedNumber* k2() { return m_k2.get(); } 81 SVGAnimatedNumber* k2() { return m_k2.get(); }
82 SVGAnimatedNumber* k3() { return m_k3.get(); } 82 SVGAnimatedNumber* k3() { return m_k3.get(); }
83 SVGAnimatedNumber* k4() { return m_k4.get(); } 83 SVGAnimatedNumber* k4() { return m_k4.get(); }
84 SVGAnimatedString* in1() { return m_in1.get(); }
85 SVGAnimatedString* in2() { return m_in2.get(); }
84 86
85 private: 87 private:
86 explicit SVGFECompositeElement(Document&); 88 explicit SVGFECompositeElement(Document&);
87 89
88 bool isSupportedAttribute(const QualifiedName&); 90 bool isSupportedAttribute(const QualifiedName&);
89 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 91 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
90 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) O VERRIDE; 92 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) O VERRIDE;
91 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 93 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
92 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE; 94 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE;
93 95
94 RefPtr<SVGAnimatedNumber> m_k1; 96 RefPtr<SVGAnimatedNumber> m_k1;
95 RefPtr<SVGAnimatedNumber> m_k2; 97 RefPtr<SVGAnimatedNumber> m_k2;
96 RefPtr<SVGAnimatedNumber> m_k3; 98 RefPtr<SVGAnimatedNumber> m_k3;
97 RefPtr<SVGAnimatedNumber> m_k4; 99 RefPtr<SVGAnimatedNumber> m_k4;
100 RefPtr<SVGAnimatedString> m_in1;
101 RefPtr<SVGAnimatedString> m_in2;
98 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFECompositeElement) 102 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFECompositeElement)
99 DECLARE_ANIMATED_STRING(In1, in1)
100 DECLARE_ANIMATED_STRING(In2, in2)
101 DECLARE_ANIMATED_ENUMERATION(SVGOperator, svgOperator, CompositeOperatio nType) 103 DECLARE_ANIMATED_ENUMERATION(SVGOperator, svgOperator, CompositeOperatio nType)
102 END_DECLARE_ANIMATED_PROPERTIES 104 END_DECLARE_ANIMATED_PROPERTIES
103 }; 105 };
104 106
105 } // namespace WebCore 107 } // namespace WebCore
106 108
107 #endif 109 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFEComponentTransferElement.cpp ('k') | Source/core/svg/SVGFECompositeElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698