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 30 matching lines...) Expand all Loading... |
41 SVGAnimatedLength* width() const { return m_width.get(); } | 41 SVGAnimatedLength* width() const { return m_width.get(); } |
42 SVGAnimatedLength* height() const { return m_height.get(); } | 42 SVGAnimatedLength* height() const { return m_height.get(); } |
43 SVGAnimatedLength* rx() const { return m_rx.get(); } | 43 SVGAnimatedLength* rx() const { return m_rx.get(); } |
44 SVGAnimatedLength* ry() const { return m_ry.get(); } | 44 SVGAnimatedLength* ry() const { return m_ry.get(); } |
45 | 45 |
46 DECLARE_VIRTUAL_TRACE(); | 46 DECLARE_VIRTUAL_TRACE(); |
47 | 47 |
48 private: | 48 private: |
49 explicit SVGRectElement(Document&); | 49 explicit SVGRectElement(Document&); |
50 | 50 |
51 virtual bool isPresentationAttribute(const QualifiedName&) const override; | 51 bool isPresentationAttribute(const QualifiedName&) const override; |
52 virtual bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const o
verride; | 52 bool isPresentationAttributeWithSVGDOM(const QualifiedName&) const override; |
53 virtual void collectStyleForPresentationAttribute(const QualifiedName&, cons
t AtomicString&, MutableStylePropertySet*) override; | 53 void collectStyleForPresentationAttribute(const QualifiedName&, const Atomic
String&, MutableStylePropertySet*) override; |
54 virtual void svgAttributeChanged(const QualifiedName&) override; | 54 void svgAttributeChanged(const QualifiedName&) override; |
55 | 55 |
56 virtual bool selfHasRelativeLengths() const override; | 56 bool selfHasRelativeLengths() const override; |
57 | 57 |
58 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 58 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
59 | 59 |
60 RefPtrWillBeMember<SVGAnimatedLength> m_x; | 60 RefPtrWillBeMember<SVGAnimatedLength> m_x; |
61 RefPtrWillBeMember<SVGAnimatedLength> m_y; | 61 RefPtrWillBeMember<SVGAnimatedLength> m_y; |
62 RefPtrWillBeMember<SVGAnimatedLength> m_width; | 62 RefPtrWillBeMember<SVGAnimatedLength> m_width; |
63 RefPtrWillBeMember<SVGAnimatedLength> m_height; | 63 RefPtrWillBeMember<SVGAnimatedLength> m_height; |
64 RefPtrWillBeMember<SVGAnimatedLength> m_rx; | 64 RefPtrWillBeMember<SVGAnimatedLength> m_rx; |
65 RefPtrWillBeMember<SVGAnimatedLength> m_ry; | 65 RefPtrWillBeMember<SVGAnimatedLength> m_ry; |
66 }; | 66 }; |
67 | 67 |
68 } // namespace blink | 68 } // namespace blink |
69 | 69 |
70 #endif // SVGRectElement_h | 70 #endif // SVGRectElement_h |
OLD | NEW |