| 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 21 matching lines...) Expand all Loading... |
| 32 class SVGGElement FINAL : public SVGStyledTransformableElement, | 32 class SVGGElement FINAL : public SVGStyledTransformableElement, |
| 33 public SVGTests, | 33 public SVGTests, |
| 34 public SVGLangSpace, | 34 public SVGLangSpace, |
| 35 public SVGExternalResourcesRequired { | 35 public SVGExternalResourcesRequired { |
| 36 public: | 36 public: |
| 37 static PassRefPtr<SVGGElement> create(const QualifiedName&, Document*); | 37 static PassRefPtr<SVGGElement> create(const QualifiedName&, Document*); |
| 38 | 38 |
| 39 protected: | 39 protected: |
| 40 SVGGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGEle
ment); | 40 SVGGElement(const QualifiedName&, Document*, ConstructionType = CreateSVGEle
ment); |
| 41 | 41 |
| 42 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 42 virtual RenderObject* createRenderer(RenderStyle*); |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 virtual bool isValid() const { return SVGTests::isValid(); } | 45 virtual bool isValid() const { return SVGTests::isValid(); } |
| 46 virtual bool supportsFocus() const { return true; } | 46 virtual bool supportsFocus() const { return true; } |
| 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 | 51 |
| 52 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 52 virtual bool rendererIsNeeded(const NodeRenderingContext&); |
| 53 | 53 |
| 54 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGElement) | 54 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGElement) |
| 55 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 55 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
| 56 END_DECLARE_ANIMATED_PROPERTIES | 56 END_DECLARE_ANIMATED_PROPERTIES |
| 57 | 57 |
| 58 // SVGTests | 58 // SVGTests |
| 59 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 59 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
| 60 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 60 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
| 61 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 61 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
| 62 }; | 62 }; |
| 63 | 63 |
| 64 } // namespace WebCore | 64 } // namespace WebCore |
| 65 | 65 |
| 66 #endif | 66 #endif |
| OLD | NEW |