| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005 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 20 matching lines...) Expand all Loading... |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 class SVGDefsElement : public SVGStyledTransformableElement, | 33 class SVGDefsElement : public SVGStyledTransformableElement, |
| 34 public SVGTests, | 34 public SVGTests, |
| 35 public SVGLangSpace, | 35 public SVGLangSpace, |
| 36 public SVGExternalResourcesRequired { | 36 public SVGExternalResourcesRequired { |
| 37 DEFINE_SELF_HANDLE(SVGDefsElement) | 37 DEFINE_SELF_HANDLE(SVGDefsElement) |
| 38 public: | 38 public: |
| 39 static PassRefPtr<SVGDefsElement> create(const QualifiedName&, const Handle<
Document>&); | 39 static PassRefPtr<SVGDefsElement> create(const QualifiedName&, const Handle<
Document>&); |
| 40 | 40 |
| 41 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledTransformabl
eElement::accept(visitor); } |
| 42 |
| 41 private: | 43 private: |
| 42 SVGDefsElement(const QualifiedName&, const Handle<Document>&); | 44 SVGDefsElement(const QualifiedName&, const Handle<Document>&); |
| 43 | 45 |
| 44 virtual bool isValid() const; | 46 virtual bool isValid() const; |
| 45 | 47 |
| 46 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 48 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
| 47 | 49 |
| 48 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGDefsElement) | 50 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGDefsElement) |
| 49 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 51 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
| 50 END_DECLARE_ANIMATED_PROPERTIES | 52 END_DECLARE_ANIMATED_PROPERTIES |
| 51 | 53 |
| 52 // SVGTests | 54 // SVGTests |
| 53 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 55 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
| 54 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 56 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
| 55 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 57 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
| 56 }; | 58 }; |
| 57 | 59 |
| 58 } // namespace WebCore | 60 } // namespace WebCore |
| 59 | 61 |
| 60 #endif // ENABLE(SVG) | 62 #endif // ENABLE(SVG) |
| 61 #endif | 63 #endif |
| OLD | NEW |