OLD | NEW |
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 53 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
64 DECLARE_VIRTUAL_TRACE(); | 64 DECLARE_VIRTUAL_TRACE(); |
65 | 65 |
66 protected: | 66 protected: |
67 SVGFELightElement(const QualifiedName&, Document&); | 67 SVGFELightElement(const QualifiedName&, Document&); |
68 | 68 |
69 private: | 69 private: |
70 bool isSupportedAttribute(const QualifiedName&); | 70 bool isSupportedAttribute(const QualifiedName&); |
71 virtual void svgAttributeChanged(const QualifiedName&) override final; | 71 virtual void svgAttributeChanged(const QualifiedName&) override final; |
72 virtual void childrenChanged(const ChildrenChange&) override final; | 72 virtual void childrenChanged(const ChildrenChange&) override final; |
73 | 73 |
74 virtual bool layoutObjectIsNeeded(const LayoutStyle&) override { return fals
e; } | 74 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override { return fa
lse; } |
75 | 75 |
76 RefPtrWillBeMember<SVGAnimatedNumber> m_azimuth; | 76 RefPtrWillBeMember<SVGAnimatedNumber> m_azimuth; |
77 RefPtrWillBeMember<SVGAnimatedNumber> m_elevation; | 77 RefPtrWillBeMember<SVGAnimatedNumber> m_elevation; |
78 RefPtrWillBeMember<SVGAnimatedNumber> m_x; | 78 RefPtrWillBeMember<SVGAnimatedNumber> m_x; |
79 RefPtrWillBeMember<SVGAnimatedNumber> m_y; | 79 RefPtrWillBeMember<SVGAnimatedNumber> m_y; |
80 RefPtrWillBeMember<SVGAnimatedNumber> m_z; | 80 RefPtrWillBeMember<SVGAnimatedNumber> m_z; |
81 RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtX; | 81 RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtX; |
82 RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtY; | 82 RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtY; |
83 RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtZ; | 83 RefPtrWillBeMember<SVGAnimatedNumber> m_pointsAtZ; |
84 RefPtrWillBeMember<SVGAnimatedNumber> m_specularExponent; | 84 RefPtrWillBeMember<SVGAnimatedNumber> m_specularExponent; |
85 RefPtrWillBeMember<SVGAnimatedNumber> m_limitingConeAngle; | 85 RefPtrWillBeMember<SVGAnimatedNumber> m_limitingConeAngle; |
86 }; | 86 }; |
87 | 87 |
88 inline bool isSVGFELightElement(const SVGElement& element) | 88 inline bool isSVGFELightElement(const SVGElement& element) |
89 { | 89 { |
90 return element.hasTagName(SVGNames::feDistantLightTag) || element.hasTagName
(SVGNames::fePointLightTag) || element.hasTagName(SVGNames::feSpotLightTag); | 90 return element.hasTagName(SVGNames::feDistantLightTag) || element.hasTagName
(SVGNames::fePointLightTag) || element.hasTagName(SVGNames::feSpotLightTag); |
91 } | 91 } |
92 | 92 |
93 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGFELightElement); | 93 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGFELightElement); |
94 | 94 |
95 } // namespace blink | 95 } // namespace blink |
96 | 96 |
97 #endif | 97 #endif |
OLD | NEW |