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 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> | 4 * Copyright (C) 2006 Samuel Weinig <sam.weinig@gmail.com> |
5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. | 5 * Copyright (C) Research In Motion Limited 2010. All rights reserved. |
6 * | 6 * |
7 * This library is free software; you can redistribute it and/or | 7 * This library is free software; you can redistribute it and/or |
8 * modify it under the terms of the GNU Library General Public | 8 * modify it under the terms of the GNU Library General Public |
9 * License as published by the Free Software Foundation; either | 9 * License as published by the Free Software Foundation; either |
10 * version 2 of the License, or (at your option) any later version. | 10 * version 2 of the License, or (at your option) any later version. |
(...skipping 33 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
44 void removeClient(Node*); | 44 void removeClient(Node*); |
45 | 45 |
46 SVGAnimatedLength* x() const { return m_x.get(); } | 46 SVGAnimatedLength* x() const { return m_x.get(); } |
47 SVGAnimatedLength* y() const { return m_y.get(); } | 47 SVGAnimatedLength* y() const { return m_y.get(); } |
48 SVGAnimatedLength* width() const { return m_width.get(); } | 48 SVGAnimatedLength* width() const { return m_width.get(); } |
49 SVGAnimatedLength* height() const { return m_height.get(); } | 49 SVGAnimatedLength* height() const { return m_height.get(); } |
50 | 50 |
51 private: | 51 private: |
52 explicit SVGFilterElement(Document&); | 52 explicit SVGFilterElement(Document&); |
53 | 53 |
54 virtual bool needsPendingResourceHandling() const { 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 void svgAttributeChanged(const QualifiedName&); | 58 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
59 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 59 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; |
60 | 60 |
61 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 61 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
62 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE; | 62 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE; |
63 | 63 |
64 virtual bool selfHasRelativeLengths() const; | 64 virtual bool selfHasRelativeLengths() const OVERRIDE; |
65 | 65 |
66 static const AtomicString& filterResXIdentifier(); | 66 static const AtomicString& filterResXIdentifier(); |
67 static const AtomicString& filterResYIdentifier(); | 67 static const AtomicString& filterResYIdentifier(); |
68 | 68 |
69 RefPtr<SVGAnimatedLength> m_x; | 69 RefPtr<SVGAnimatedLength> m_x; |
70 RefPtr<SVGAnimatedLength> m_y; | 70 RefPtr<SVGAnimatedLength> m_y; |
71 RefPtr<SVGAnimatedLength> m_width; | 71 RefPtr<SVGAnimatedLength> m_width; |
72 RefPtr<SVGAnimatedLength> m_height; | 72 RefPtr<SVGAnimatedLength> m_height; |
73 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) | 73 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) |
74 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG
UnitType) | 74 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG
UnitType) |
75 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType
s::SVGUnitType) | 75 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType
s::SVGUnitType) |
76 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX) | 76 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX) |
77 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY) | 77 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY) |
78 DECLARE_ANIMATED_STRING(Href, href) | 78 DECLARE_ANIMATED_STRING(Href, href) |
79 END_DECLARE_ANIMATED_PROPERTIES | 79 END_DECLARE_ANIMATED_PROPERTIES |
80 | 80 |
81 HashSet<RefPtr<Node> > m_clientsToAdd; | 81 HashSet<RefPtr<Node> > m_clientsToAdd; |
82 }; | 82 }; |
83 | 83 |
84 DEFINE_NODE_TYPE_CASTS(SVGFilterElement, hasTagName(SVGNames::filterTag)); | 84 DEFINE_NODE_TYPE_CASTS(SVGFilterElement, hasTagName(SVGNames::filterTag)); |
85 | 85 |
86 } | 86 } |
87 | 87 |
88 #endif | 88 #endif |
OLD | NEW |