Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(61)

Side by Side Diff: Source/WebCore/svg/SVGScriptElement.cpp

Issue 10917095: Merge 125147 (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1229/
Patch Set: Created 8 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « Source/WebCore/svg/SVGScriptElement.h ('k') | Source/WebCore/svg/SVGStyleElement.h » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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
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
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)
OLDNEW
« no previous file with comments | « Source/WebCore/svg/SVGScriptElement.h ('k') | Source/WebCore/svg/SVGStyleElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698