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

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

Issue 327633004: Apply DEFINE/DECLARE_NODE_FACTORY(T) macro to element factories with single Document& argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 14 matching lines...) Expand all
25 #include "core/svg/SVGAnimatedNumber.h" 25 #include "core/svg/SVGAnimatedNumber.h"
26 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h" 26 #include "core/svg/SVGFilterPrimitiveStandardAttributes.h"
27 #include "platform/graphics/filters/FEComposite.h" 27 #include "platform/graphics/filters/FEComposite.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 template<> const SVGEnumerationStringEntries& getStaticStringEntries<CompositeOp erationType>(); 31 template<> const SVGEnumerationStringEntries& getStaticStringEntries<CompositeOp erationType>();
32 32
33 class SVGFECompositeElement FINAL : public SVGFilterPrimitiveStandardAttributes { 33 class SVGFECompositeElement FINAL : public SVGFilterPrimitiveStandardAttributes {
34 public: 34 public:
35 DEFINE_NODE_FACTORY(SVGFECompositeElement); 35 DECLARE_NODE_FACTORY(SVGFECompositeElement);
36 36
37 SVGAnimatedNumber* k1() { return m_k1.get(); } 37 SVGAnimatedNumber* k1() { return m_k1.get(); }
38 SVGAnimatedNumber* k2() { return m_k2.get(); } 38 SVGAnimatedNumber* k2() { return m_k2.get(); }
39 SVGAnimatedNumber* k3() { return m_k3.get(); } 39 SVGAnimatedNumber* k3() { return m_k3.get(); }
40 SVGAnimatedNumber* k4() { return m_k4.get(); } 40 SVGAnimatedNumber* k4() { return m_k4.get(); }
41 SVGAnimatedString* in1() { return m_in1.get(); } 41 SVGAnimatedString* in1() { return m_in1.get(); }
42 SVGAnimatedString* in2() { return m_in2.get(); } 42 SVGAnimatedString* in2() { return m_in2.get(); }
43 SVGAnimatedEnumeration<CompositeOperationType>* svgOperator() { return m_svg Operator.get(); } 43 SVGAnimatedEnumeration<CompositeOperationType>* svgOperator() { return m_svg Operator.get(); }
44 44
45 private: 45 private:
(...skipping 10 matching lines...) Expand all
56 RefPtr<SVGAnimatedNumber> m_k3; 56 RefPtr<SVGAnimatedNumber> m_k3;
57 RefPtr<SVGAnimatedNumber> m_k4; 57 RefPtr<SVGAnimatedNumber> m_k4;
58 RefPtr<SVGAnimatedString> m_in1; 58 RefPtr<SVGAnimatedString> m_in1;
59 RefPtr<SVGAnimatedString> m_in2; 59 RefPtr<SVGAnimatedString> m_in2;
60 RefPtr<SVGAnimatedEnumeration<CompositeOperationType> > m_svgOperator; 60 RefPtr<SVGAnimatedEnumeration<CompositeOperationType> > m_svgOperator;
61 }; 61 };
62 62
63 } // namespace WebCore 63 } // namespace WebCore
64 64
65 #endif 65 #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