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 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 private: | 48 private: |
49 SVGFilterElement(const QualifiedName&, Document*); | 49 SVGFilterElement(const QualifiedName&, Document*); |
50 | 50 |
51 virtual bool needsPendingResourceHandling() const { return false; } | 51 virtual bool needsPendingResourceHandling() const { return false; } |
52 | 52 |
53 bool isSupportedAttribute(const QualifiedName&); | 53 bool isSupportedAttribute(const QualifiedName&); |
54 virtual void parseAttribute(Attribute*) OVERRIDE; | 54 virtual void parseAttribute(Attribute*) OVERRIDE; |
55 virtual void svgAttributeChanged(const QualifiedName&); | 55 virtual void svgAttributeChanged(const QualifiedName&); |
56 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 56 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); |
57 | 57 |
58 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 58 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*) OVERRIDE; |
| 59 virtual bool childShouldCreateRenderer(const NodeRenderingContext&) const OV
ERRIDE; |
59 | 60 |
60 virtual bool selfHasRelativeLengths() const; | 61 virtual bool selfHasRelativeLengths() const; |
61 | 62 |
62 static const AtomicString& filterResXIdentifier(); | 63 static const AtomicString& filterResXIdentifier(); |
63 static const AtomicString& filterResYIdentifier(); | 64 static const AtomicString& filterResYIdentifier(); |
64 | 65 |
65 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) | 66 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGFilterElement) |
66 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG
UnitType) | 67 DECLARE_ANIMATED_ENUMERATION(FilterUnits, filterUnits, SVGUnitTypes::SVG
UnitType) |
67 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType
s::SVGUnitType) | 68 DECLARE_ANIMATED_ENUMERATION(PrimitiveUnits, primitiveUnits, SVGUnitType
s::SVGUnitType) |
68 DECLARE_ANIMATED_LENGTH(X, x) | 69 DECLARE_ANIMATED_LENGTH(X, x) |
69 DECLARE_ANIMATED_LENGTH(Y, y) | 70 DECLARE_ANIMATED_LENGTH(Y, y) |
70 DECLARE_ANIMATED_LENGTH(Width, width) | 71 DECLARE_ANIMATED_LENGTH(Width, width) |
71 DECLARE_ANIMATED_LENGTH(Height, height) | 72 DECLARE_ANIMATED_LENGTH(Height, height) |
72 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX) | 73 DECLARE_ANIMATED_INTEGER(FilterResX, filterResX) |
73 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY) | 74 DECLARE_ANIMATED_INTEGER(FilterResY, filterResY) |
74 DECLARE_ANIMATED_STRING(Href, href) | 75 DECLARE_ANIMATED_STRING(Href, href) |
75 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 76 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
76 END_DECLARE_ANIMATED_PROPERTIES | 77 END_DECLARE_ANIMATED_PROPERTIES |
77 }; | 78 }; |
78 | 79 |
79 } | 80 } |
80 | 81 |
81 #endif | 82 #endif |
82 #endif | 83 #endif |
OLD | NEW |