OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org> | 2 * Copyright (C) 2005 Alexander Kellett <lypanov@kde.org> |
3 * | 3 * |
4 * This library is free software; you can redistribute it and/or | 4 * This library is free software; you can redistribute it and/or |
5 * modify it under the terms of the GNU Library General Public | 5 * modify it under the terms of the GNU Library General Public |
6 * License as published by the Free Software Foundation; either | 6 * License as published by the Free Software Foundation; either |
7 * version 2 of the License, or (at your option) any later version. | 7 * version 2 of the License, or (at your option) any later version. |
8 * | 8 * |
9 * This library is distributed in the hope that it will be useful, | 9 * This library is distributed in the hope that it will be useful, |
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of | 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of |
(...skipping 29 matching lines...) Expand all Loading... |
40 SVGMaskElement(const QualifiedName&, Document*); | 40 SVGMaskElement(const QualifiedName&, Document*); |
41 | 41 |
42 virtual bool isValid() const { return SVGTests::isValid(); } | 42 virtual bool isValid() const { return SVGTests::isValid(); } |
43 virtual bool needsPendingResourceHandling() const { return false; } | 43 virtual bool needsPendingResourceHandling() const { return false; } |
44 | 44 |
45 bool isSupportedAttribute(const QualifiedName&); | 45 bool isSupportedAttribute(const QualifiedName&); |
46 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 46 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
47 virtual void svgAttributeChanged(const QualifiedName&); | 47 virtual void svgAttributeChanged(const QualifiedName&); |
48 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 48 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); |
49 | 49 |
50 virtual bool rendererIsNeeded(const NodeRenderingContext& context) OVERRIDE
{ return rendererIsNeededInternal(context); } | |
51 virtual RenderObject* createRenderer(RenderStyle*); | 50 virtual RenderObject* createRenderer(RenderStyle*); |
52 | 51 |
53 virtual bool selfHasRelativeLengths() const; | 52 virtual bool selfHasRelativeLengths() const; |
54 | 53 |
55 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMaskElement) | 54 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMaskElement) |
56 DECLARE_ANIMATED_ENUMERATION(MaskUnits, maskUnits, SVGUnitTypes::SVGUnit
Type) | 55 DECLARE_ANIMATED_ENUMERATION(MaskUnits, maskUnits, SVGUnitTypes::SVGUnit
Type) |
57 DECLARE_ANIMATED_ENUMERATION(MaskContentUnits, maskContentUnits, SVGUnit
Types::SVGUnitType) | 56 DECLARE_ANIMATED_ENUMERATION(MaskContentUnits, maskContentUnits, SVGUnit
Types::SVGUnitType) |
58 DECLARE_ANIMATED_LENGTH(X, x) | 57 DECLARE_ANIMATED_LENGTH(X, x) |
59 DECLARE_ANIMATED_LENGTH(Y, y) | 58 DECLARE_ANIMATED_LENGTH(Y, y) |
60 DECLARE_ANIMATED_LENGTH(Width, width) | 59 DECLARE_ANIMATED_LENGTH(Width, width) |
61 DECLARE_ANIMATED_LENGTH(Height, height) | 60 DECLARE_ANIMATED_LENGTH(Height, height) |
62 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 61 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
63 END_DECLARE_ANIMATED_PROPERTIES | 62 END_DECLARE_ANIMATED_PROPERTIES |
64 | 63 |
65 // SVGTests | 64 // SVGTests |
66 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 65 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
67 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 66 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
68 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 67 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
69 }; | 68 }; |
70 | 69 |
71 } | 70 } |
72 | 71 |
73 #endif | 72 #endif |
OLD | NEW |