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 30 matching lines...) Expand all Loading... |
41 | 41 |
42 private: | 42 private: |
43 SVGMaskElement(const QualifiedName&, Handle<Document>); | 43 SVGMaskElement(const QualifiedName&, Handle<Document>); |
44 | 44 |
45 virtual bool isValid() const { return SVGTests::isValid(); } | 45 virtual bool isValid() const { return SVGTests::isValid(); } |
46 virtual bool needsPendingResourceHandling() const { return false; } | 46 virtual bool needsPendingResourceHandling() const { return false; } |
47 | 47 |
48 bool isSupportedAttribute(const QualifiedName&); | 48 bool isSupportedAttribute(const QualifiedName&); |
49 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 49 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
50 virtual void svgAttributeChanged(const QualifiedName&); | 50 virtual void svgAttributeChanged(const QualifiedName&); |
51 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 51 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
52 | 52 |
53 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 53 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
54 | 54 |
55 virtual bool selfHasRelativeLengths() const; | 55 virtual bool selfHasRelativeLengths() const; |
56 | 56 |
57 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMaskElement) | 57 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGMaskElement) |
58 DECLARE_ANIMATED_ENUMERATION(MaskUnits, maskUnits, SVGUnitTypes::SVGUnit
Type) | 58 DECLARE_ANIMATED_ENUMERATION(MaskUnits, maskUnits, SVGUnitTypes::SVGUnit
Type) |
59 DECLARE_ANIMATED_ENUMERATION(MaskContentUnits, maskContentUnits, SVGUnit
Types::SVGUnitType) | 59 DECLARE_ANIMATED_ENUMERATION(MaskContentUnits, maskContentUnits, SVGUnit
Types::SVGUnitType) |
60 DECLARE_ANIMATED_LENGTH(X, x) | 60 DECLARE_ANIMATED_LENGTH(X, x) |
61 DECLARE_ANIMATED_LENGTH(Y, y) | 61 DECLARE_ANIMATED_LENGTH(Y, y) |
62 DECLARE_ANIMATED_LENGTH(Width, width) | 62 DECLARE_ANIMATED_LENGTH(Width, width) |
63 DECLARE_ANIMATED_LENGTH(Height, height) | 63 DECLARE_ANIMATED_LENGTH(Height, height) |
64 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 64 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
65 END_DECLARE_ANIMATED_PROPERTIES | 65 END_DECLARE_ANIMATED_PROPERTIES |
66 | 66 |
67 // SVGTests | 67 // SVGTests |
68 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 68 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
69 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 69 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
70 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 70 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
71 }; | 71 }; |
72 | 72 |
73 } | 73 } |
74 | 74 |
75 #endif | 75 #endif |
76 #endif | 76 #endif |
OLD | NEW |