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 32 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
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 bool isSupportedAttribute(const QualifiedName&); | 50 bool isSupportedAttribute(const QualifiedName&); |
51 virtual void svgAttributeChanged(const QualifiedName&) override; | 51 virtual void svgAttributeChanged(const QualifiedName&) override; |
52 | 52 |
53 virtual LayoutObject* createLayoutObject(const LayoutStyle&) override; | 53 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
54 | 54 |
55 virtual bool selfHasRelativeLengths() const override; | 55 virtual bool selfHasRelativeLengths() const override; |
56 | 56 |
57 RefPtrWillBeMember<SVGAnimatedLength> m_x1; | 57 RefPtrWillBeMember<SVGAnimatedLength> m_x1; |
58 RefPtrWillBeMember<SVGAnimatedLength> m_y1; | 58 RefPtrWillBeMember<SVGAnimatedLength> m_y1; |
59 RefPtrWillBeMember<SVGAnimatedLength> m_x2; | 59 RefPtrWillBeMember<SVGAnimatedLength> m_x2; |
60 RefPtrWillBeMember<SVGAnimatedLength> m_y2; | 60 RefPtrWillBeMember<SVGAnimatedLength> m_y2; |
61 }; | 61 }; |
62 | 62 |
63 } // namespace blink | 63 } // namespace blink |
64 | 64 |
65 #endif // SVGLinearGradientElement_h | 65 #endif // SVGLinearGradientElement_h |
OLD | NEW |