OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org> | 2 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 virtual void trace(Visitor*) override; | 48 virtual void trace(Visitor*) override; |
49 | 49 |
50 private: | 50 private: |
51 explicit SVGMaskElement(Document&); | 51 explicit SVGMaskElement(Document&); |
52 | 52 |
53 virtual bool isValid() const override { return SVGTests::isValid(document())
; } | 53 virtual bool isValid() const override { return SVGTests::isValid(document())
; } |
54 virtual bool needsPendingResourceHandling() const override { return false; } | 54 virtual bool needsPendingResourceHandling() const override { return false; } |
55 | 55 |
56 bool isSupportedAttribute(const QualifiedName&); | 56 bool isSupportedAttribute(const QualifiedName&); |
57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; | 57 virtual void parseAttribute(const QualifiedName&, const AtomicString&) overr
ide; |
| 58 virtual bool isPresentationAttribute(const QualifiedName&) const override; |
| 59 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o
verride; |
| 60 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; |
58 virtual void svgAttributeChanged(const QualifiedName&) override; | 61 virtual void svgAttributeChanged(const QualifiedName&) override; |
59 virtual void childrenChanged(const ChildrenChange&) override; | 62 virtual void childrenChanged(const ChildrenChange&) override; |
60 | 63 |
61 virtual LayoutObject* createRenderer(const RenderStyle&) override; | 64 virtual LayoutObject* createRenderer(const RenderStyle&) override; |
62 | 65 |
63 virtual bool selfHasRelativeLengths() const override; | 66 virtual bool selfHasRelativeLengths() const override; |
64 | 67 |
65 RefPtrWillBeMember<SVGAnimatedLength> m_x; | 68 RefPtrWillBeMember<SVGAnimatedLength> m_x; |
66 RefPtrWillBeMember<SVGAnimatedLength> m_y; | 69 RefPtrWillBeMember<SVGAnimatedLength> m_y; |
67 RefPtrWillBeMember<SVGAnimatedLength> m_width; | 70 RefPtrWillBeMember<SVGAnimatedLength> m_width; |
68 RefPtrWillBeMember<SVGAnimatedLength> m_height; | 71 RefPtrWillBeMember<SVGAnimatedLength> m_height; |
69 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_mas
kUnits; | 72 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_mas
kUnits; |
70 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_mas
kContentUnits; | 73 RefPtrWillBeMember<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_mas
kContentUnits; |
71 }; | 74 }; |
72 | 75 |
73 } // namespace blink | 76 } // namespace blink |
74 | 77 |
75 #endif // SVGMaskElement_h | 78 #endif // SVGMaskElement_h |
OLD | NEW |