| 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 95 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 106 void SVGScriptElement::didNotifySubtreeInsertionsToDocument() | 106 void SVGScriptElement::didNotifySubtreeInsertionsToDocument() |
| 107 { | 107 { |
| 108 m_loader->didNotifySubtreeInsertionsToDocument(); | 108 m_loader->didNotifySubtreeInsertionsToDocument(); |
| 109 | 109 |
| 110 if (!m_loader->isParserInserted()) { | 110 if (!m_loader->isParserInserted()) { |
| 111 m_loader->setHaveFiredLoadEvent(true); | 111 m_loader->setHaveFiredLoadEvent(true); |
| 112 sendSVGLoadEventIfPossibleAsynchronously(); | 112 sendSVGLoadEventIfPossibleAsynchronously(); |
| 113 } | 113 } |
| 114 } | 114 } |
| 115 | 115 |
| 116 void SVGScriptElement::childrenChanged(bool changedByParser, Node* beforeChange,
Node* afterChange, int childCountDelta) | 116 void SVGScriptElement::childrenChanged(const ChildrenChange& change) |
| 117 { | 117 { |
| 118 SVGElement::childrenChanged(changedByParser, beforeChange, afterChange, chil
dCountDelta); | 118 SVGElement::childrenChanged(change); |
| 119 m_loader->childrenChanged(); | 119 m_loader->childrenChanged(); |
| 120 } | 120 } |
| 121 | 121 |
| 122 bool SVGScriptElement::isURLAttribute(const Attribute& attribute) const | 122 bool SVGScriptElement::isURLAttribute(const Attribute& attribute) const |
| 123 { | 123 { |
| 124 return attribute.name() == AtomicString(sourceAttributeValue()); | 124 return attribute.name() == AtomicString(sourceAttributeValue()); |
| 125 } | 125 } |
| 126 | 126 |
| 127 void SVGScriptElement::finishParsingChildren() | 127 void SVGScriptElement::finishParsingChildren() |
| 128 { | 128 { |
| (...skipping 65 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 194 bool SVGScriptElement::isAnimatableAttribute(const QualifiedName& name) const | 194 bool SVGScriptElement::isAnimatableAttribute(const QualifiedName& name) const |
| 195 { | 195 { |
| 196 if (name == SVGNames::typeAttr) | 196 if (name == SVGNames::typeAttr) |
| 197 return false; | 197 return false; |
| 198 | 198 |
| 199 return SVGElement::isAnimatableAttribute(name); | 199 return SVGElement::isAnimatableAttribute(name); |
| 200 } | 200 } |
| 201 #endif | 201 #endif |
| 202 | 202 |
| 203 } | 203 } |
| OLD | NEW |