OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2006, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 2007 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 39 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
50 SVGAnimatedLength* y() const { return m_y.get(); } | 50 SVGAnimatedLength* y() const { return m_y.get(); } |
51 SVGAnimatedLength* width() const { return m_width.get(); } | 51 SVGAnimatedLength* width() const { return m_width.get(); } |
52 SVGAnimatedLength* height() const { return m_height.get(); } | 52 SVGAnimatedLength* height() const { return m_height.get(); } |
53 SVGAnimatedString* result() const { return m_result.get(); } | 53 SVGAnimatedString* result() const { return m_result.get(); } |
54 | 54 |
55 DECLARE_VIRTUAL_TRACE(); | 55 DECLARE_VIRTUAL_TRACE(); |
56 | 56 |
57 protected: | 57 protected: |
58 SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&); | 58 SVGFilterPrimitiveStandardAttributes(const QualifiedName&, Document&); |
59 | 59 |
60 bool isSupportedAttribute(const QualifiedName&); | |
61 virtual void svgAttributeChanged(const QualifiedName&) override; | 60 virtual void svgAttributeChanged(const QualifiedName&) override; |
62 virtual void childrenChanged(const ChildrenChange&) override; | 61 virtual void childrenChanged(const ChildrenChange&) override; |
63 | 62 |
64 void invalidate(); | 63 void invalidate(); |
65 void primitiveAttributeChanged(const QualifiedName&); | 64 void primitiveAttributeChanged(const QualifiedName&); |
66 | 65 |
67 private: | 66 private: |
68 virtual bool isFilterEffect() const override final { return true; } | 67 virtual bool isFilterEffect() const override final { return true; } |
69 | 68 |
70 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; | 69 virtual LayoutObject* createLayoutObject(const ComputedStyle&) override; |
71 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override final; | 70 virtual bool layoutObjectIsNeeded(const ComputedStyle&) override final; |
72 | 71 |
73 RefPtrWillBeMember<SVGAnimatedLength> m_x; | 72 RefPtrWillBeMember<SVGAnimatedLength> m_x; |
74 RefPtrWillBeMember<SVGAnimatedLength> m_y; | 73 RefPtrWillBeMember<SVGAnimatedLength> m_y; |
75 RefPtrWillBeMember<SVGAnimatedLength> m_width; | 74 RefPtrWillBeMember<SVGAnimatedLength> m_width; |
76 RefPtrWillBeMember<SVGAnimatedLength> m_height; | 75 RefPtrWillBeMember<SVGAnimatedLength> m_height; |
77 RefPtrWillBeMember<SVGAnimatedString> m_result; | 76 RefPtrWillBeMember<SVGAnimatedString> m_result; |
78 }; | 77 }; |
79 | 78 |
80 void invalidateFilterPrimitiveParent(SVGElement*); | 79 void invalidateFilterPrimitiveParent(SVGElement*); |
81 | 80 |
82 } // namespace blink | 81 } // namespace blink |
83 | 82 |
84 #endif // SVGFilterPrimitiveStandardAttributes_h | 83 #endif // SVGFilterPrimitiveStandardAttributes_h |
OLD | NEW |