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 16 matching lines...) Expand all Loading... |
27 #include "bindings/v8/ScriptEventListener.h" | 27 #include "bindings/v8/ScriptEventListener.h" |
28 #include "core/dom/Attribute.h" | 28 #include "core/dom/Attribute.h" |
29 #include "core/dom/Document.h" | 29 #include "core/dom/Document.h" |
30 #include "core/dom/ScriptLoader.h" | 30 #include "core/dom/ScriptLoader.h" |
31 #include "core/events/ThreadLocalEventNames.h" | 31 #include "core/events/ThreadLocalEventNames.h" |
32 #include "core/svg/SVGElementInstance.h" | 32 #include "core/svg/SVGElementInstance.h" |
33 #include "core/svg/properties/SVGAnimatedStaticPropertyTearOff.h" | 33 #include "core/svg/properties/SVGAnimatedStaticPropertyTearOff.h" |
34 | 34 |
35 namespace WebCore { | 35 namespace WebCore { |
36 | 36 |
37 // Animated property definitions | |
38 | |
39 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGScriptElement) | |
40 END_REGISTER_ANIMATED_PROPERTIES | |
41 | |
42 inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedBy
Parser, bool alreadyStarted) | 37 inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedBy
Parser, bool alreadyStarted) |
43 : SVGElement(SVGNames::scriptTag, document) | 38 : SVGElement(SVGNames::scriptTag, document) |
44 , SVGURIReference(this) | 39 , SVGURIReference(this) |
45 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) | 40 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) |
46 , m_loader(ScriptLoader::create(this, wasInsertedByParser, alreadyStarted)) | 41 , m_loader(ScriptLoader::create(this, wasInsertedByParser, alreadyStarted)) |
47 { | 42 { |
48 ScriptWrappable::init(this); | 43 ScriptWrappable::init(this); |
49 } | 44 } |
50 | 45 |
51 PassRefPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool i
nsertedByParser) | 46 PassRefPtr<SVGScriptElement> SVGScriptElement::create(Document& document, bool i
nsertedByParser) |
(...skipping 150 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
202 bool SVGScriptElement::isAnimatableAttribute(const QualifiedName& name) const | 197 bool SVGScriptElement::isAnimatableAttribute(const QualifiedName& name) const |
203 { | 198 { |
204 if (name == SVGNames::typeAttr) | 199 if (name == SVGNames::typeAttr) |
205 return false; | 200 return false; |
206 | 201 |
207 return SVGElement::isAnimatableAttribute(name); | 202 return SVGElement::isAnimatableAttribute(name); |
208 } | 203 } |
209 #endif | 204 #endif |
210 | 205 |
211 } | 206 } |
OLD | NEW |