| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2008 Nikolas Zimmermann <zimmermann@kde.org> |
| 3 * Copyright (C) 2004, 2005, 2007 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005, 2007 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 13 matching lines...) Expand all Loading... |
| 24 #if ENABLE(SVG) | 24 #if ENABLE(SVG) |
| 25 #include "SVGAnimatedBoolean.h" | 25 #include "SVGAnimatedBoolean.h" |
| 26 #include "SVGAnimatedString.h" | 26 #include "SVGAnimatedString.h" |
| 27 #include "SVGElement.h" | 27 #include "SVGElement.h" |
| 28 #include "SVGExternalResourcesRequired.h" | 28 #include "SVGExternalResourcesRequired.h" |
| 29 #include "SVGURIReference.h" | 29 #include "SVGURIReference.h" |
| 30 #include "ScriptElement.h" | 30 #include "ScriptElement.h" |
| 31 | 31 |
| 32 namespace WebCore { | 32 namespace WebCore { |
| 33 | 33 |
| 34 class SVGScriptElement : public SVGElement | 34 class SVGScriptElement FINAL : public SVGElement |
| 35 , public SVGURIReference | 35 , public SVGURIReference |
| 36 , public SVGExternalResourcesRequired | 36 , public SVGExternalResourcesRequired |
| 37 , public ScriptElement { | 37 , public ScriptElement { |
| 38 public: | 38 public: |
| 39 static PassRefPtr<SVGScriptElement> create(const QualifiedName&, Document*,
bool wasInsertedByParser); | 39 static PassRefPtr<SVGScriptElement> create(const QualifiedName&, Document*,
bool wasInsertedByParser); |
| 40 | 40 |
| 41 String type() const; | 41 String type() const; |
| 42 void setType(const String&); | 42 void setType(const String&); |
| 43 | 43 |
| 44 private: | 44 private: |
| 45 SVGScriptElement(const QualifiedName&, Document*, bool wasInsertedByParser,
bool alreadyStarted); | 45 SVGScriptElement(const QualifiedName&, Document*, bool wasInsertedByParser,
bool alreadyStarted); |
| 46 | 46 |
| 47 bool isSupportedAttribute(const QualifiedName&); | 47 bool isSupportedAttribute(const QualifiedName&); |
| (...skipping 35 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 END_DECLARE_ANIMATED_PROPERTIES | 83 END_DECLARE_ANIMATED_PROPERTIES |
| 84 | 84 |
| 85 String m_type; | 85 String m_type; |
| 86 Timer<SVGElement> m_svgLoadEventTimer; | 86 Timer<SVGElement> m_svgLoadEventTimer; |
| 87 }; | 87 }; |
| 88 | 88 |
| 89 } // namespace WebCore | 89 } // namespace WebCore |
| 90 | 90 |
| 91 #endif // ENABLE(SVG) | 91 #endif // ENABLE(SVG) |
| 92 #endif | 92 #endif |
| OLD | NEW |