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

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

Issue 177703004: [SVG] Remove SVGAnimatedPropertyMacros.h (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: remove ws 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
« no previous file with comments | « Source/core/svg/SVGFELightElement.h ('k') | Source/core/svg/SVGFEMergeNodeElement.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, 2007 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2007 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006 Rob Buis <buis@kde.org>
4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com> 4 * Copyright (C) 2005 Oliver Hunt <oliver@nerget.com>
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 14 matching lines...) Expand all
25 25
26 #include "SVGNames.h" 26 #include "SVGNames.h"
27 #include "core/rendering/RenderObject.h" 27 #include "core/rendering/RenderObject.h"
28 #include "core/rendering/svg/RenderSVGResource.h" 28 #include "core/rendering/svg/RenderSVGResource.h"
29 #include "core/svg/SVGElementInstance.h" 29 #include "core/svg/SVGElementInstance.h"
30 #include "core/svg/SVGFEDiffuseLightingElement.h" 30 #include "core/svg/SVGFEDiffuseLightingElement.h"
31 #include "core/svg/SVGFESpecularLightingElement.h" 31 #include "core/svg/SVGFESpecularLightingElement.h"
32 32
33 namespace WebCore { 33 namespace WebCore {
34 34
35 // Animated property definitions
36 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGFELightElement)
37 END_REGISTER_ANIMATED_PROPERTIES
38
39 SVGFELightElement::SVGFELightElement(const QualifiedName& tagName, Document& doc ument) 35 SVGFELightElement::SVGFELightElement(const QualifiedName& tagName, Document& doc ument)
40 : SVGElement(tagName, document) 36 : SVGElement(tagName, document)
41 , m_azimuth(SVGAnimatedNumber::create(this, SVGNames::azimuthAttr, SVGNumber ::create())) 37 , m_azimuth(SVGAnimatedNumber::create(this, SVGNames::azimuthAttr, SVGNumber ::create()))
42 , m_elevation(SVGAnimatedNumber::create(this, SVGNames::elevationAttr, SVGNu mber::create())) 38 , m_elevation(SVGAnimatedNumber::create(this, SVGNames::elevationAttr, SVGNu mber::create()))
43 , m_x(SVGAnimatedNumber::create(this, SVGNames::xAttr, SVGNumber::create())) 39 , m_x(SVGAnimatedNumber::create(this, SVGNames::xAttr, SVGNumber::create()))
44 , m_y(SVGAnimatedNumber::create(this, SVGNames::yAttr, SVGNumber::create())) 40 , m_y(SVGAnimatedNumber::create(this, SVGNames::yAttr, SVGNumber::create()))
45 , m_z(SVGAnimatedNumber::create(this, SVGNames::zAttr, SVGNumber::create())) 41 , m_z(SVGAnimatedNumber::create(this, SVGNames::zAttr, SVGNumber::create()))
46 , m_pointsAtX(SVGAnimatedNumber::create(this, SVGNames::pointsAtXAttr, SVGNu mber::create())) 42 , m_pointsAtX(SVGAnimatedNumber::create(this, SVGNames::pointsAtXAttr, SVGNu mber::create()))
47 , m_pointsAtY(SVGAnimatedNumber::create(this, SVGNames::pointsAtYAttr, SVGNu mber::create())) 43 , m_pointsAtY(SVGAnimatedNumber::create(this, SVGNames::pointsAtYAttr, SVGNu mber::create()))
48 , m_pointsAtZ(SVGAnimatedNumber::create(this, SVGNames::pointsAtZAttr, SVGNu mber::create())) 44 , m_pointsAtZ(SVGAnimatedNumber::create(this, SVGNames::pointsAtZAttr, SVGNu mber::create()))
(...skipping 128 matching lines...) Expand 10 before | Expand all | Expand 10 after
177 if (!changedByParser) { 173 if (!changedByParser) {
178 if (ContainerNode* parent = parentNode()) { 174 if (ContainerNode* parent = parentNode()) {
179 RenderObject* renderer = parent->renderer(); 175 RenderObject* renderer = parent->renderer();
180 if (renderer && renderer->isSVGResourceFilterPrimitive()) 176 if (renderer && renderer->isSVGResourceFilterPrimitive())
181 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer); 177 RenderSVGResource::markForLayoutAndParentResourceInvalidation(re nderer);
182 } 178 }
183 } 179 }
184 } 180 }
185 181
186 } 182 }
OLDNEW
« no previous file with comments | « Source/core/svg/SVGFELightElement.h ('k') | Source/core/svg/SVGFEMergeNodeElement.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698