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 17 matching lines...) Expand all Loading... |
28 #include "core/svg/SVGExternalResourcesRequired.h" | 28 #include "core/svg/SVGExternalResourcesRequired.h" |
29 #include "core/svg/SVGTests.h" | 29 #include "core/svg/SVGTests.h" |
30 #include "core/svg/SVGUnitTypes.h" | 30 #include "core/svg/SVGUnitTypes.h" |
31 | 31 |
32 namespace WebCore { | 32 namespace WebCore { |
33 | 33 |
34 class SVGMaskElement FINAL : public SVGElement, | 34 class SVGMaskElement FINAL : public SVGElement, |
35 public SVGTests, | 35 public SVGTests, |
36 public SVGExternalResourcesRequired { | 36 public SVGExternalResourcesRequired { |
37 public: | 37 public: |
38 static PassRefPtr<SVGMaskElement> create(const QualifiedName&, Document&); | 38 static PassRefPtr<SVGMaskElement> create(Document&); |
39 | 39 |
40 private: | 40 private: |
41 SVGMaskElement(const QualifiedName&, Document&); | 41 explicit SVGMaskElement(Document&); |
42 | 42 |
43 virtual bool isValid() const { return SVGTests::isValid(); } | 43 virtual bool isValid() const { return SVGTests::isValid(); } |
44 virtual bool needsPendingResourceHandling() const { return false; } | 44 virtual bool needsPendingResourceHandling() const { return false; } |
45 | 45 |
46 bool isSupportedAttribute(const QualifiedName&); | 46 bool isSupportedAttribute(const QualifiedName&); |
47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 47 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
48 virtual void svgAttributeChanged(const QualifiedName&); | 48 virtual void svgAttributeChanged(const QualifiedName&); |
49 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); | 49 virtual void childrenChanged(bool changedByParser = false, Node* beforeChang
e = 0, Node* afterChange = 0, int childCountDelta = 0); |
50 | 50 |
51 virtual RenderObject* createRenderer(RenderStyle*); | 51 virtual RenderObject* createRenderer(RenderStyle*); |
(...skipping 14 matching lines...) Expand all Loading... |
66 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 66 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
67 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 67 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
68 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 68 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
69 }; | 69 }; |
70 | 70 |
71 DEFINE_NODE_TYPE_CASTS(SVGMaskElement, hasTagName(SVGNames::maskTag)); | 71 DEFINE_NODE_TYPE_CASTS(SVGMaskElement, hasTagName(SVGNames::maskTag)); |
72 | 72 |
73 } | 73 } |
74 | 74 |
75 #endif | 75 #endif |
OLD | NEW |