OLD | NEW |
1 /* | 1 /* |
2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> | 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org> |
3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> | 3 * Copyright (C) 2004, 2005 Rob Buis <buis@kde.org> |
4 * Copyright (C) 2010 Dirk Schulze <krit@webkit.org> | 4 * Copyright (C) 2010 Dirk Schulze <krit@webkit.org> |
5 * | 5 * |
6 * This library is free software; you can redistribute it and/or | 6 * This library is free software; you can redistribute it and/or |
7 * modify it under the terms of the GNU Library General Public | 7 * modify it under the terms of the GNU Library General Public |
8 * License as published by the Free Software Foundation; either | 8 * License as published by the Free Software Foundation; either |
9 * version 2 of the License, or (at your option) any later version. | 9 * version 2 of the License, or (at your option) any later version. |
10 * | 10 * |
(...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
48 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio) | 48 REGISTER_LOCAL_ANIMATED_PROPERTY(preserveAspectRatio) |
49 REGISTER_LOCAL_ANIMATED_PROPERTY(href) | 49 REGISTER_LOCAL_ANIMATED_PROPERTY(href) |
50 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) | 50 REGISTER_LOCAL_ANIMATED_PROPERTY(externalResourcesRequired) |
51 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) | 51 REGISTER_PARENT_ANIMATED_PROPERTIES(SVGFilterPrimitiveStandardAttributes) |
52 END_REGISTER_ANIMATED_PROPERTIES | 52 END_REGISTER_ANIMATED_PROPERTIES |
53 | 53 |
54 inline SVGFEImageElement::SVGFEImageElement(const QualifiedName& tagName, Docume
nt* document) | 54 inline SVGFEImageElement::SVGFEImageElement(const QualifiedName& tagName, Docume
nt* document) |
55 : SVGFilterPrimitiveStandardAttributes(tagName, document) | 55 : SVGFilterPrimitiveStandardAttributes(tagName, document) |
56 { | 56 { |
57 ASSERT(hasTagName(SVGNames::feImageTag)); | 57 ASSERT(hasTagName(SVGNames::feImageTag)); |
| 58 ScriptWrappable::init(this); |
58 registerAnimatedPropertiesForSVGFEImageElement(); | 59 registerAnimatedPropertiesForSVGFEImageElement(); |
59 } | 60 } |
60 | 61 |
61 PassRefPtr<SVGFEImageElement> SVGFEImageElement::create(const QualifiedName& tag
Name, Document* document) | 62 PassRefPtr<SVGFEImageElement> SVGFEImageElement::create(const QualifiedName& tag
Name, Document* document) |
62 { | 63 { |
63 return adoptRef(new SVGFEImageElement(tagName, document)); | 64 return adoptRef(new SVGFEImageElement(tagName, document)); |
64 } | 65 } |
65 | 66 |
66 SVGFEImageElement::~SVGFEImageElement() | 67 SVGFEImageElement::~SVGFEImageElement() |
67 { | 68 { |
(...skipping 144 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
212 void SVGFEImageElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) con
st | 213 void SVGFEImageElement::addSubresourceAttributeURLs(ListHashSet<KURL>& urls) con
st |
213 { | 214 { |
214 SVGFilterPrimitiveStandardAttributes::addSubresourceAttributeURLs(urls); | 215 SVGFilterPrimitiveStandardAttributes::addSubresourceAttributeURLs(urls); |
215 | 216 |
216 addSubresourceURL(urls, document()->completeURL(href())); | 217 addSubresourceURL(urls, document()->completeURL(href())); |
217 } | 218 } |
218 | 219 |
219 } | 220 } |
220 | 221 |
221 #endif // ENABLE(SVG) | 222 #endif // ENABLE(SVG) |
OLD | NEW |