| 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 20 matching lines...) Expand all Loading... |
| 31 namespace WebCore { | 31 namespace WebCore { |
| 32 | 32 |
| 33 class SVGGElement : public SVGStyledTransformableElement, | 33 class SVGGElement : public SVGStyledTransformableElement, |
| 34 public SVGTests, | 34 public SVGTests, |
| 35 public SVGLangSpace, | 35 public SVGLangSpace, |
| 36 public SVGExternalResourcesRequired { | 36 public SVGExternalResourcesRequired { |
| 37 DEFINE_SELF_HANDLE(SVGGElement) | 37 DEFINE_SELF_HANDLE(SVGGElement) |
| 38 public: | 38 public: |
| 39 static PassRefPtr<SVGGElement> create(const QualifiedName&, const Handle<Doc
ument>&); | 39 static PassRefPtr<SVGGElement> create(const QualifiedName&, const Handle<Doc
ument>&); |
| 40 | 40 |
| 41 virtual void accept(Visitor* visitor) const OVERRIDE { SVGStyledTransformabl
eElement::accept(visitor); } |
| 42 |
| 41 protected: | 43 protected: |
| 42 SVGGElement(const QualifiedName&, const Handle<Document>&, ConstructionType
= CreateSVGElement); | 44 SVGGElement(const QualifiedName&, const Handle<Document>&, ConstructionType
= CreateSVGElement); |
| 43 | 45 |
| 44 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); | 46 virtual RenderObject* createRenderer(RenderArena*, RenderStyle*); |
| 45 | 47 |
| 46 private: | 48 private: |
| 47 virtual bool isValid() const { return SVGTests::isValid(); } | 49 virtual bool isValid() const { return SVGTests::isValid(); } |
| 48 virtual bool supportsFocus() const { return true; } | 50 virtual bool supportsFocus() const { return true; } |
| 49 | 51 |
| 50 bool isSupportedAttribute(const QualifiedName&); | 52 bool isSupportedAttribute(const QualifiedName&); |
| 51 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; | 53 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR
IDE; |
| 52 virtual void svgAttributeChanged(const QualifiedName&); | 54 virtual void svgAttributeChanged(const QualifiedName&); |
| 53 | 55 |
| 54 virtual bool rendererIsNeeded(const NodeRenderingContext&); | 56 virtual bool rendererIsNeeded(const NodeRenderingContext&); |
| 55 | 57 |
| 56 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGElement) | 58 BEGIN_DECLARE_ANIMATED_PROPERTIES(SVGGElement) |
| 57 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) | 59 DECLARE_ANIMATED_BOOLEAN(ExternalResourcesRequired, externalResourcesReq
uired) |
| 58 END_DECLARE_ANIMATED_PROPERTIES | 60 END_DECLARE_ANIMATED_PROPERTIES |
| 59 | 61 |
| 60 // SVGTests | 62 // SVGTests |
| 61 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } | 63 virtual void synchronizeRequiredFeatures() { SVGTests::synchronizeRequiredFe
atures(this); } |
| 62 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 64 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
| 63 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 65 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
| 64 }; | 66 }; |
| 65 | 67 |
| 66 } // namespace WebCore | 68 } // namespace WebCore |
| 67 | 69 |
| 68 #endif // ENABLE(SVG) | 70 #endif // ENABLE(SVG) |
| 69 #endif | 71 #endif |
| OLD | NEW |