OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007, 2008 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 * | 4 * |
5 * This library is free software; you can redistribute it and/or | 5 * This library is free software; you can redistribute it and/or |
6 * modify it under the terms of the GNU Library General Public | 6 * modify it under the terms of the GNU Library General Public |
7 * License as published by the Free Software Foundation; either | 7 * License as published by the Free Software Foundation; either |
8 * version 2 of the License, or (at your option) any later version. | 8 * version 2 of the License, or (at your option) any later version. |
9 * | 9 * |
10 * This library is distributed in the hope that it will be useful, | 10 * This library is distributed in the hope that it will be useful, |
(...skipping 24 matching lines...) Expand all Loading... |
35 class RenderObject; | 35 class RenderObject; |
36 | 36 |
37 class SVGClipPathElement : public SVGStyledTransformableElement, | 37 class SVGClipPathElement : public SVGStyledTransformableElement, |
38 public SVGTests, | 38 public SVGTests, |
39 public SVGLangSpace, | 39 public SVGLangSpace, |
40 public SVGExternalResourcesRequired { | 40 public SVGExternalResourcesRequired { |
41 DEFINE_SELF_HANDLE(SVGClipPathElement) | 41 DEFINE_SELF_HANDLE(SVGClipPathElement) |
42 public: | 42 public: |
43 static PassRefPtr<SVGClipPathElement> create(const QualifiedName&, const Han
dle<Document>&); | 43 static PassRefPtr<SVGClipPathElement> create(const QualifiedName&, const Han
dle<Document>&); |
44 | 44 |
| 45 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledTransformabl
eElement::accept(visitor); } |
| 46 |
45 private: | 47 private: |
46 SVGClipPathElement(const QualifiedName&, const Handle<Document>&); | 48 SVGClipPathElement(const QualifiedName&, const Handle<Document>&); |
47 | 49 |
48 virtual bool isValid() const { return SVGTests::isValid(); } | 50 virtual bool isValid() const { return SVGTests::isValid(); } |
49 virtual bool needsPendingResourceHandling() const { return false; } | 51 virtual bool needsPendingResourceHandling() const { return false; } |
50 | 52 |
51 bool isSupportedAttribute(const QualifiedName&); | 53 bool isSupportedAttribute(const QualifiedName&); |
52 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 54 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
53 virtual void svgAttributeChanged(const QualifiedName&); | 55 virtual void svgAttributeChanged(const QualifiedName&); |
54 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); | 56 virtual void childrenChanged(bool changedByParser = false, const Handle<Node
>& beforeChange = nullptr, const Handle<Node>& afterChange = nullptr, int childC
ountDelta = 0); |
55 | 57 |
56 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 58 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
57 | 59 |
58 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGClipPathElement) | 60 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGClipPathElement) |
59 DECLARE_ANIMATED_ENUMERATION(ClipPathUnits, clipPathUnits, SVGUnitTypes:
:SVGUnitType) | 61 DECLARE_ANIMATED_ENUMERATION(ClipPathUnits, clipPathUnits, SVGUnitTypes:
:SVGUnitType) |
60 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 62 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
61 END_DECLARE_ANIMATED_PROPERTIES | 63 END_DECLARE_ANIMATED_PROPERTIES |
62 | 64 |
63 // SVGTests | 65 // SVGTests |
64 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 66 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
65 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 67 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
66 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 68 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
67 }; | 69 }; |
68 | 70 |
69 } | 71 } |
70 | 72 |
71 #endif | 73 #endif |
72 #endif | 74 #endif |
OLD | NEW |