| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2006, 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 16 matching lines...) Expand all Loading... |
| 27 #include "SVGAnimatedPreserveAspectRatio.h" | 27 #include "SVGAnimatedPreserveAspectRatio.h" |
| 28 #include "SVGExternalResourcesRequired.h" | 28 #include "SVGExternalResourcesRequired.h" |
| 29 #include "SVGImageLoader.h" | 29 #include "SVGImageLoader.h" |
| 30 #include "SVGLangSpace.h" | 30 #include "SVGLangSpace.h" |
| 31 #include "SVGStyledTransformableElement.h" | 31 #include "SVGStyledTransformableElement.h" |
| 32 #include "SVGTests.h" | 32 #include "SVGTests.h" |
| 33 #include "SVGURIReference.h" | 33 #include "SVGURIReference.h" |
| 34 | 34 |
| 35 namespace WebCore { | 35 namespace WebCore { |
| 36 | 36 |
| 37 class SVGImageElement : public SVGStyledTransformableElement, | 37 class SVGImageElement FINAL : public SVGStyledTransformableElement, |
| 38 public SVGTests, | 38 public SVGTests, |
| 39 public SVGLangSpace, | 39 public SVGLangSpace, |
| 40 public SVGExternalResourcesRequired, | 40 public SVGExternalResourcesRequired, |
| 41 public SVGURIReference { | 41 public SVGURIReference { |
| 42 public: | 42 public: |
| 43 static PassRefPtr<SVGImageElement> create(const QualifiedName&, Document*); | 43 static PassRefPtr<SVGImageElement> create(const QualifiedName&, Document*); |
| 44 | 44 |
| 45 private: | 45 private: |
| 46 SVGImageElement(const QualifiedName&, Document*); | 46 SVGImageElement(const QualifiedName&, Document*); |
| 47 | 47 |
| 48 virtual bool isValid() const { return SVGTests::isValid(); } | 48 virtual bool isValid() const { return SVGTests::isValid(); } |
| 49 virtual bool supportsFocus() const { return true; } | 49 virtual bool supportsFocus() const { return true; } |
| 50 | 50 |
| 51 bool isSupportedAttribute(const QualifiedName&); | 51 bool isSupportedAttribute(const QualifiedName&); |
| (...skipping 30 matching lines...) Expand all Loading... |
| 82 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } | 82 virtual void synchronizeRequiredExtensions() { SVGTests::synchronizeRequired
Extensions(this); } |
| 83 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } | 83 virtual void synchronizeSystemLanguage() { SVGTests::synchronizeSystemLangua
ge(this); } |
| 84 | 84 |
| 85 SVGImageLoader m_imageLoader; | 85 SVGImageLoader m_imageLoader; |
| 86 }; | 86 }; |
| 87 | 87 |
| 88 } // namespace WebCore | 88 } // namespace WebCore |
| 89 | 89 |
| 90 #endif // ENABLE(SVG) | 90 #endif // ENABLE(SVG) |
| 91 #endif | 91 #endif |
| OLD | NEW |