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

Side by Side Diff: Source/core/svg/SVGMPathElement.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) 2007 Eric Seidel <eric@webkit.org> 2 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
3 * 3 *
4 * This library is free software; you can redistribute it and/or 4 * This library is free software; you can redistribute it and/or
5 * modify it under the terms of the GNU Library General Public 5 * modify it under the terms of the GNU Library General Public
6 * License as published by the Free Software Foundation; either 6 * License as published by the Free Software Foundation; either
7 * version 2 of the License, or (at your option) any later version. 7 * version 2 of the License, or (at your option) any later version.
8 * 8 *
9 * This library is distributed in the hope that it will be useful, 9 * This library is distributed in the hope that it will be useful,
10 * but WITHOUT ANY WARRANTY; without even the implied warranty of 10 * but WITHOUT ANY WARRANTY; without even the implied warranty of
(...skipping 14 matching lines...) Expand all
25 #include "core/dom/Document.h" 25 #include "core/dom/Document.h"
26 #include "core/svg/SVGAnimateMotionElement.h" 26 #include "core/svg/SVGAnimateMotionElement.h"
27 #include "core/svg/SVGDocumentExtensions.h" 27 #include "core/svg/SVGDocumentExtensions.h"
28 #include "core/svg/SVGElementInstance.h" 28 #include "core/svg/SVGElementInstance.h"
29 #include "core/svg/SVGPathElement.h" 29 #include "core/svg/SVGPathElement.h"
30 30
31 namespace WebCore { 31 namespace WebCore {
32 32
33 // Animated property definitions 33 // Animated property definitions
34 34
35 BEGIN_REGISTER_ANIMATED_PROPERTIES(SVGMPathElement)
36 END_REGISTER_ANIMATED_PROPERTIES
37 35
38 inline SVGMPathElement::SVGMPathElement(Document& document) 36 inline SVGMPathElement::SVGMPathElement(Document& document)
39 : SVGElement(SVGNames::mpathTag, document) 37 : SVGElement(SVGNames::mpathTag, document)
40 , SVGURIReference(this) 38 , SVGURIReference(this)
41 { 39 {
42 ScriptWrappable::init(this); 40 ScriptWrappable::init(this);
43 } 41 }
44 42
45 PassRefPtr<SVGMPathElement> SVGMPathElement::create(Document& document) 43 PassRefPtr<SVGMPathElement> SVGMPathElement::create(Document& document)
46 { 44 {
(...skipping 105 matching lines...) Expand 10 before | Expand all | Expand 10 after
152 notifyParentOfPathChange(parentNode()); 150 notifyParentOfPathChange(parentNode());
153 } 151 }
154 152
155 void SVGMPathElement::notifyParentOfPathChange(ContainerNode* parent) 153 void SVGMPathElement::notifyParentOfPathChange(ContainerNode* parent)
156 { 154 {
157 if (parent && parent->hasTagName(SVGNames::animateMotionTag)) 155 if (parent && parent->hasTagName(SVGNames::animateMotionTag))
158 toSVGAnimateMotionElement(parent)->updateAnimationPath(); 156 toSVGAnimateMotionElement(parent)->updateAnimationPath();
159 } 157 }
160 158
161 } // namespace WebCore 159 } // namespace WebCore
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698