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 42 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
53 explicit SVGFilterElement(Document&); | 53 explicit SVGFilterElement(Document&); |
54 | 54 |
55 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; } | 55 virtual bool needsPendingResourceHandling() const OVERRIDE { return false; } |
56 | 56 |
57 bool isSupportedAttribute(const QualifiedName&); | 57 bool isSupportedAttribute(const QualifiedName&); |
58 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 58 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
59 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; | 59 virtual void svgAttributeChanged(const QualifiedName&) OVERRIDE; |
60 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; | 60 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0) OVERRIDE; |
61 | 61 |
62 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; | 62 virtual RenderObject* createRenderer(RenderStyle*) OVERRIDE; |
63 virtual bool childShouldCreateRenderer(const Node& child) const OVERRIDE { r
eturn true; } | |
64 | 63 |
65 virtual bool selfHasRelativeLengths() const OVERRIDE; | 64 virtual bool selfHasRelativeLengths() const OVERRIDE; |
66 | 65 |
67 static const AtomicString& filterResXIdentifier(); | 66 static const AtomicString& filterResXIdentifier(); |
68 static const AtomicString& filterResYIdentifier(); | 67 static const AtomicString& filterResYIdentifier(); |
69 | 68 |
70 RefPtr<SVGAnimatedLength> m_x; | 69 RefPtr<SVGAnimatedLength> m_x; |
71 RefPtr<SVGAnimatedLength> m_y; | 70 RefPtr<SVGAnimatedLength> m_y; |
72 RefPtr<SVGAnimatedLength> m_width; | 71 RefPtr<SVGAnimatedLength> m_width; |
73 RefPtr<SVGAnimatedLength> m_height; | 72 RefPtr<SVGAnimatedLength> m_height; |
74 RefPtr<SVGAnimatedString> m_href; | 73 RefPtr<SVGAnimatedString> m_href; |
75 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) | 74 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) |
76 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG
UnitType) | 75 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG
UnitType) |
77 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType
s::SVGUnitType) | 76 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType
s::SVGUnitType) |
78 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX) | 77 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX) |
79 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY) | 78 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY) |
80 END_DECLARE_ANIMATED_PROPERTIES | 79 END_DECLARE_ANIMATED_PROPERTIES |
81 | 80 |
82 HashSet<RefPtr<Node> > m_clientsToAdd; | 81 HashSet<RefPtr<Node> > m_clientsToAdd; |
83 }; | 82 }; |
84 | 83 |
85 DEFINE_NODE_TYPE_CASTS(SVGFilterElement, hasTagName(SVGNames::filterTag)); | 84 DEFINE_NODE_TYPE_CASTS(SVGFilterElement, hasTagName(SVGNames::filterTag)); |
86 | 85 |
87 } | 86 } |
88 | 87 |
89 #endif | 88 #endif |
OLD | NEW |