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

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

Issue 177703004: [SVG] Remove SVGAnimatedPropertyMacros.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 9 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 | Annotate | Revision Log
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 18 matching lines...) Expand all
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 37 // Animated property definitions
38 38
39 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGScriptElement)
40 END_REGISTER_ANIMATED_PROPERTIES
41 39
42 inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedBy Parser, bool alreadyStarted) 40 inline SVGScriptElement::SVGScriptElement(Document& document, bool wasInsertedBy Parser, bool alreadyStarted)
43 : SVGElement(SVGNames::scriptTag, document) 41 : SVGElement(SVGNames::scriptTag, document)
44 , SVGURIReference(this) 42 , SVGURIReference(this)
45 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired) 43 , m_svgLoadEventTimer(this, &SVGElement::svgLoadEventTimerFired)
46 , m_loader(ScriptLoader::create(this, wasInsertedByParser, alreadyStarted)) 44 , m_loader(ScriptLoader::create(this, wasInsertedByParser, alreadyStarted))
47 { 45 {
48 ScriptWrappable::init(this); 46 ScriptWrappable::init(this);
49 } 47 }
50 48
(...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after
202 bool SVGScriptElement::isAnimatableAttribute(const QualifiedName& name) const 200 bool SVGScriptElement::isAnimatableAttribute(const QualifiedName& name) const
203 { 201 {
204 if (name == SVGNames::typeAttr) 202 if (name == SVGNames::typeAttr)
205 return false; 203 return false;
206 204
207 return SVGElement::isAnimatableAttribute(name); 205 return SVGElement::isAnimatableAttribute(name);
208 } 206 }
209 #endif 207 #endif
210 208
211 } 209 }
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698