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

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

Issue 421823002: Remove SVGFEMorphologyElement.setRadius(radiusX, radiusY) (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: fix test Created 6 years, 4 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
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/svg/SVGFEMorphologyElement.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* 1 /*
2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org> 2 * Copyright (C) 2009 Dirk Schulze <krit@webkit.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 15 matching lines...) Expand all
26 #include "platform/graphics/filters/FEMorphology.h" 26 #include "platform/graphics/filters/FEMorphology.h"
27 27
28 namespace blink { 28 namespace blink {
29 29
30 template<> const SVGEnumerationStringEntries& getStaticStringEntries<MorphologyO peratorType>(); 30 template<> const SVGEnumerationStringEntries& getStaticStringEntries<MorphologyO peratorType>();
31 31
32 class SVGFEMorphologyElement FINAL : public SVGFilterPrimitiveStandardAttributes { 32 class SVGFEMorphologyElement FINAL : public SVGFilterPrimitiveStandardAttributes {
33 public: 33 public:
34 DECLARE_NODE_FACTORY(SVGFEMorphologyElement); 34 DECLARE_NODE_FACTORY(SVGFEMorphologyElement);
35 35
36 void setRadius(float radiusX, float radiusY);
37
38 SVGAnimatedNumber* radiusX() { return m_radius->firstNumber(); } 36 SVGAnimatedNumber* radiusX() { return m_radius->firstNumber(); }
39 SVGAnimatedNumber* radiusY() { return m_radius->secondNumber(); } 37 SVGAnimatedNumber* radiusY() { return m_radius->secondNumber(); }
40 SVGAnimatedString* in1() { return m_in1.get(); } 38 SVGAnimatedString* in1() { return m_in1.get(); }
41 SVGAnimatedEnumeration<MorphologyOperatorType>* svgOperator() { return m_svg Operator.get(); } 39 SVGAnimatedEnumeration<MorphologyOperatorType>* svgOperator() { return m_svg Operator.get(); }
42 40
43 private: 41 private:
44 explicit SVGFEMorphologyElement(Document&); 42 explicit SVGFEMorphologyElement(Document&);
45 43
46 bool isSupportedAttribute(const QualifiedName&); 44 bool isSupportedAttribute(const QualifiedName&);
47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
48 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) O VERRIDE; 46 virtual bool setFilterEffectAttribute(FilterEffect*, const QualifiedName&) O VERRIDE;
49 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; 47 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE;
50 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE; 48 virtual PassRefPtr<FilterEffect> build(SVGFilterBuilder*, Filter*) OVERRIDE;
51 49
52 RefPtr<SVGAnimatedNumberOptionalNumber> m_radius; 50 RefPtr<SVGAnimatedNumberOptionalNumber> m_radius;
53 RefPtr<SVGAnimatedString> m_in1; 51 RefPtr<SVGAnimatedString> m_in1;
54 RefPtr<SVGAnimatedEnumeration<MorphologyOperatorType> > m_svgOperator; 52 RefPtr<SVGAnimatedEnumeration<MorphologyOperatorType> > m_svgOperator;
55 }; 53 };
56 54
57 } // namespace blink 55 } // namespace blink
58 56
59 #endif 57 #endif
OLDNEW
« no previous file with comments | « Source/core/frame/UseCounter.h ('k') | Source/core/svg/SVGFEMorphologyElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698