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 29 matching lines...) Expand all Loading... |
40 SVGAnimatedLength* x1() const { return m_x1.get(); } | 40 SVGAnimatedLength* x1() const { return m_x1.get(); } |
41 SVGAnimatedLength* y1() const { return m_y1.get(); } | 41 SVGAnimatedLength* y1() const { return m_y1.get(); } |
42 SVGAnimatedLength* x2() const { return m_x2.get(); } | 42 SVGAnimatedLength* x2() const { return m_x2.get(); } |
43 SVGAnimatedLength* y2() const { return m_y2.get(); } | 43 SVGAnimatedLength* y2() const { return m_y2.get(); } |
44 | 44 |
45 DECLARE_VIRTUAL_TRACE(); | 45 DECLARE_VIRTUAL_TRACE(); |
46 | 46 |
47 private: | 47 private: |
48 explicit SVGLinearGradientElement(Document&); | 48 explicit SVGLinearGradientElement(Document&); |
49 | 49 |
50 virtual void svgAttributeChanged(const QualifiedName&) override; | 50 void svgAttributeChanged(const QualifiedName&) override; |
51 | 51 |
52 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 52 LayoutObject* createLayoutObject(const ComputedStyle&) override; |
53 | 53 |
54 virtual bool selfHasRelativeLengths() const override; | 54 bool selfHasRelativeLengths() const override; |
55 | 55 |
56 RefPtrWillBeMember<SVGAnimatedLength> m_x1; | 56 RefPtrWillBeMember<SVGAnimatedLength> m_x1; |
57 RefPtrWillBeMember<SVGAnimatedLength> m_y1; | 57 RefPtrWillBeMember<SVGAnimatedLength> m_y1; |
58 RefPtrWillBeMember<SVGAnimatedLength> m_x2; | 58 RefPtrWillBeMember<SVGAnimatedLength> m_x2; |
59 RefPtrWillBeMember<SVGAnimatedLength> m_y2; | 59 RefPtrWillBeMember<SVGAnimatedLength> m_y2; |
60 }; | 60 }; |
61 | 61 |
62 } // namespace blink | 62 } // namespace blink |
63 | 63 |
64 #endif // SVGLinearGradientElement_h | 64 #endif // SVGLinearGradientElement_h |
OLD | NEW |