| 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 29 matching lines...) Expand all Loading... |
| 40 DEFINE_ANIMATED_BOOLEAN(SVGScriptElement, SVGNames::externalResourcesRequiredAtt
r, ExternalResourcesRequired, externalResourcesRequired) | 40 DEFINE_ANIMATED_BOOLEAN(SVGScriptElement, SVGNames::externalResourcesRequiredAtt
r, ExternalResourcesRequired, externalResourcesRequired) |
| 41 | 41 |
| 42 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGScriptElement) | 42 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGScriptElement) |
| 43 REGISTER_LOCAL_ANIMATED_PROPERTY(href) | 43 REGISTER_LOCAL_ANIMATED_PROPERTY(href) |
| 44 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) | 44 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) |
| 45 END_REGISTER_ANIMATED_PROPERTIES | 45 END_REGISTER_ANIMATED_PROPERTIES |
| 46 | 46 |
| 47 inline SVGScriptElement::SVGScriptElement(const QualifiedName& tagName, Document
* document, bool wasInsertedByParser, bool alreadyStarted) | 47 inline SVGScriptElement::SVGScriptElement(const QualifiedName& tagName, Document
* document, bool wasInsertedByParser, bool alreadyStarted) |
| 48 : SVGElement(tagName, document) | 48 : SVGElement(tagName, document) |
| 49 , ScriptElement(this, wasInsertedByParser, alreadyStarted) | 49 , ScriptElement(this, wasInsertedByParser, alreadyStarted) |
| 50 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) |
| 50 { | 51 { |
| 51 ASSERT(hasTagName(SVGNames::scriptTag)); | 52 ASSERT(hasTagName(SVGNames::scriptTag)); |
| 52 registerAnimatedPropertiesForSVGScriptElement(); | 53 registerAnimatedPropertiesForSVGScriptElement(); |
| 53 } | 54 } |
| 54 | 55 |
| 55 PassRefPtr<SVGScriptElement> SVGScriptElement::create(const QualifiedName& tagNa
me, Document* document, bool insertedByParser) | 56 PassRefPtr<SVGScriptElement> SVGScriptElement::create(const QualifiedName& tagNa
me, Document* document, bool insertedByParser) |
| 56 { | 57 { |
| 57 return adoptRef(new SVGScriptElement(tagName, document, insertedByParser, fa
lse)); | 58 return adoptRef(new SVGScriptElement(tagName, document, insertedByParser, fa
lse)); |
| 58 } | 59 } |
| 59 | 60 |
| (...skipping 146 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 206 } | 207 } |
| 207 | 208 |
| 208 PassRefPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren() | 209 PassRefPtr<Element> SVGScriptElement::cloneElementWithoutAttributesAndChildren() |
| 209 { | 210 { |
| 210 return adoptRef(new SVGScriptElement(tagQName(), document(), false, alreadyS
tarted())); | 211 return adoptRef(new SVGScriptElement(tagQName(), document(), false, alreadyS
tarted())); |
| 211 } | 212 } |
| 212 | 213 |
| 213 } | 214 } |
| 214 | 215 |
| 215 #endif // ENABLE(SVG) | 216 #endif // ENABLE(SVG) |
| OLD | NEW |