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

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

Issue 365673002: Pass a struct to ContainerNode::childrenChanged() instead of separate arguments (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Remove dead code Created 6 years, 5 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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 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 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> 4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com>
5 * 5 *
6 * This library is free software; you can redistribute it and/or 6 * This library is free software; you can redistribute it and/or
7 * modify it under the terms of the GNU Library General Public 7 * modify it under the terms of the GNU Library General Public
8 * License as published by the Free Software Foundation; either 8 * License as published by the Free Software Foundation; either
9 * version 2 of the License, or (at your option) any later version. 9 * version 2 of the License, or (at your option) any later version.
10 * 10 *
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after
57 SVGAnimatedNumber* limitingConeAngle() { return m_limitingConeAngle.get(); } 57 SVGAnimatedNumber* limitingConeAngle() { return m_limitingConeAngle.get(); }
58 const SVGAnimatedNumber* limitingConeAngle() const { return m_limitingConeAn gle.get(); } 58 const SVGAnimatedNumber* limitingConeAngle() const { return m_limitingConeAn gle.get(); }
59 59
60 protected: 60 protected:
61 SVGFELightElement(const QualifiedName&, Document&); 61 SVGFELightElement(const QualifiedName&, Document&);
62 62
63 private: 63 private:
64 bool isSupportedAttribute(const QualifiedName&); 64 bool isSupportedAttribute(const QualifiedName&);
65 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE FINAL; 65 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE FINAL;
66 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE FINAL; 66 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE FINAL;
67 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE FINAL; 67 virtual void childrenChanged(const ChildrenChange&) OVERRIDE FINAL;
68 68
69 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; } 69 virtual bool rendererIsNeeded(const RenderStyle&) OVERRIDE { return false; }
70 70
71 RefPtr<SVGAnimatedNumber> m_azimuth; 71 RefPtr<SVGAnimatedNumber> m_azimuth;
72 RefPtr<SVGAnimatedNumber> m_elevation; 72 RefPtr<SVGAnimatedNumber> m_elevation;
73 RefPtr<SVGAnimatedNumber> m_x; 73 RefPtr<SVGAnimatedNumber> m_x;
74 RefPtr<SVGAnimatedNumber> m_y; 74 RefPtr<SVGAnimatedNumber> m_y;
75 RefPtr<SVGAnimatedNumber> m_z; 75 RefPtr<SVGAnimatedNumber> m_z;
76 RefPtr<SVGAnimatedNumber> m_pointsAtX; 76 RefPtr<SVGAnimatedNumber> m_pointsAtX;
77 RefPtr<SVGAnimatedNumber> m_pointsAtY; 77 RefPtr<SVGAnimatedNumber> m_pointsAtY;
78 RefPtr<SVGAnimatedNumber> m_pointsAtZ; 78 RefPtr<SVGAnimatedNumber> m_pointsAtZ;
79 RefPtr<SVGAnimatedNumber> m_specularExponent; 79 RefPtr<SVGAnimatedNumber> m_specularExponent;
80 RefPtr<SVGAnimatedNumber> m_limitingConeAngle; 80 RefPtr<SVGAnimatedNumber> m_limitingConeAngle;
81 }; 81 };
82 82
83 inline bool isSVGFELightElement(const Node& node) 83 inline bool isSVGFELightElement(const Node& node)
84 { 84 {
85 return node.hasTagName(SVGNames::feDistantLightTag) || node.hasTagName(SVGNa mes::fePointLightTag) || node.hasTagName(SVGNames::feSpotLightTag); 85 return node.hasTagName(SVGNames::feDistantLightTag) || node.hasTagName(SVGNa mes::fePointLightTag) || node.hasTagName(SVGNames::feSpotLightTag);
86 } 86 }
87 87
88 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGFELightElement); 88 DEFINE_ELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGFELightElement);
89 89
90 } // namespace WebCore 90 } // namespace WebCore
91 91
92 #endif 92 #endif
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698