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

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

Issue 14022022: FINALizing of the Node hierarchy. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Action review comments. Created 7 years, 7 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 56 matching lines...) Expand 10 before | Expand all | Expand 10 after
67 if (value == "atop") 67 if (value == "atop")
68 return FECOMPOSITE_OPERATOR_ATOP; 68 return FECOMPOSITE_OPERATOR_ATOP;
69 if (value == "xor") 69 if (value == "xor")
70 return FECOMPOSITE_OPERATOR_XOR; 70 return FECOMPOSITE_OPERATOR_XOR;
71 if (value == "arithmetic") 71 if (value == "arithmetic")
72 return FECOMPOSITE_OPERATOR_ARITHMETIC; 72 return FECOMPOSITE_OPERATOR_ARITHMETIC;
73 return FECOMPOSITE_OPERATOR_UNKNOWN; 73 return FECOMPOSITE_OPERATOR_UNKNOWN;
74 } 74 }
75 }; 75 };
76 76
77 class SVGFECompositeElement : public SVGFilterPrimitiveStandardAttributes { 77 class SVGFECompositeElement FINAL : public SVGFilterPrimitiveStandardAttributes {
78 public: 78 public:
79 static PassRefPtr<SVGFECompositeElement> create(const QualifiedName&, Docume nt*); 79 static PassRefPtr<SVGFECompositeElement> create(const QualifiedName&, Docume nt*);
80 80
81 private: 81 private:
82 SVGFECompositeElement(const QualifiedName&, Document*); 82 SVGFECompositeElement(const QualifiedName&, Document*);
83 83
84 bool isSupportedAttribute(const QualifiedName&); 84 bool isSupportedAttribute(const QualifiedName&);
85 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 85 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
86 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&); 86 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&);
87 virtual void svgAttributeChanged(const QualifiedName&); 87 virtual void svgAttributeChanged(const QualifiedName&);
88 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*); 88 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*);
89 89
90 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFECompositeElement) 90 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFECompositeElement)
91 DECLARE_ANIMATED_STRING(In1, in1) 91 DECLARE_ANIMATED_STRING(In1, in1)
92 DECLARE_ANIMATED_STRING(In2, in2) 92 DECLARE_ANIMATED_STRING(In2, in2)
93 DECLARE_ANIMATED_ENUMERATION(_operator, _operator, CompositeOperationTyp e) 93 DECLARE_ANIMATED_ENUMERATION(_operator, _operator, CompositeOperationTyp e)
94 DECLARE_ANIMATED_NUMBER(K1, k1) 94 DECLARE_ANIMATED_NUMBER(K1, k1)
95 DECLARE_ANIMATED_NUMBER(K2, k2) 95 DECLARE_ANIMATED_NUMBER(K2, k2)
96 DECLARE_ANIMATED_NUMBER(K3, k3) 96 DECLARE_ANIMATED_NUMBER(K3, k3)
97 DECLARE_ANIMATED_NUMBER(K4, k4) 97 DECLARE_ANIMATED_NUMBER(K4, k4)
98 END_DECLARE_ANIMATED_PROPERTIES 98 END_DECLARE_ANIMATED_PROPERTIES
99 }; 99 };
100 100
101 } // namespace WebCore 101 } // namespace WebCore
102 102
103 #endif // ENABLE(SVG) 103 #endif // ENABLE(SVG)
104 #endif 104 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFEComponentTransferElement.h ('k') | Source/core/svg/SVGFEConvolveMatrixElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698