OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2008 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 55 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
66 bool isSupportedAttribute(const QualifiedName&); | 66 bool isSupportedAttribute(const QualifiedName&); |
67 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 67 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
68 virtual void svgAttributeChanged(const QualifiedName&) override; | 68 virtual void svgAttributeChanged(const QualifiedName&) override; |
69 | 69 |
70 private: | 70 private: |
71 virtual bool needsPendingResourceHandling() const override final { return fa
lse; } | 71 virtual bool needsPendingResourceHandling() const override final { return fa
lse; } |
72 | 72 |
73 virtual void childrenChanged(const ChildrenChange&) override final; | 73 virtual void childrenChanged(const ChildrenChange&) override final; |
74 | 74 |
75 RefPtrWillBeMember<SVGAnimatedTransformList> m_gradientTransform; | 75 RefPtrWillBeMember<SVGAnimatedTransformList> m_gradientTransform; |
76 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGSpreadMethodType> > m_spreadMet
hod; | 76 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGSpreadMethodType>> m_spreadMeth
od; |
77 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_gra
dientUnits; | 77 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType>> m_grad
ientUnits; |
78 }; | 78 }; |
79 | 79 |
80 inline bool isSVGGradientElement(const SVGElement& element) | 80 inline bool isSVGGradientElement(const SVGElement& element) |
81 { | 81 { |
82 return element.hasTagName(SVGNames::radialGradientTag) || element.hasTagName
(SVGNames::linearGradientTag); | 82 return element.hasTagName(SVGNames::radialGradientTag) || element.hasTagName
(SVGNames::linearGradientTag); |
83 } | 83 } |
84 | 84 |
85 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGradientElement); | 85 DEFINE_SVGELEMENT_TYPE_CASTS_WITH_FUNCTION(SVGGradientElement); |
86 | 86 |
87 } // namespace blink | 87 } // namespace blink |
88 | 88 |
89 #endif // SVGGradientElement_h | 89 #endif // SVGGradientElement_h |
OLD | NEW |