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

Side by Side Diff: Source/core/svg/SVGAnimateTransformElement.h

Issue 327633004: Apply DEFINE/DECLARE_NODE_FACTORY(T) macro to element factories with single Document& argument. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 6 years, 6 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 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005 Nikolas Zimmermann <zimmermann@kde.org>
3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2007 Rob Buis <buis@kde.org>
4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org> 4 * Copyright (C) 2007 Eric Seidel <eric@webkit.org>
5 * Copyright (C) 2008 Apple Inc. All rights reserved. 5 * Copyright (C) 2008 Apple Inc. All rights reserved.
6 * 6 *
7 * This library is free software; you can redistribute it and/or 7 * This library is free software; you can redistribute it and/or
8 * modify it under the terms of the GNU Library General Public 8 * modify it under the terms of the GNU Library General Public
9 * License as published by the Free Software Foundation; either 9 * License as published by the Free Software Foundation; either
10 * version 2 of the License, or (at your option) any later version. 10 * version 2 of the License, or (at your option) any later version.
(...skipping 14 matching lines...) Expand all
25 25
26 #include "core/svg/SVGAnimateElement.h" 26 #include "core/svg/SVGAnimateElement.h"
27 #include "core/svg/SVGTransform.h" 27 #include "core/svg/SVGTransform.h"
28 28
29 namespace WebCore { 29 namespace WebCore {
30 30
31 class AffineTransform; 31 class AffineTransform;
32 32
33 class SVGAnimateTransformElement FINAL : public SVGAnimateElement { 33 class SVGAnimateTransformElement FINAL : public SVGAnimateElement {
34 public: 34 public:
35 DEFINE_NODE_FACTORY(SVGAnimateTransformElement); 35 DECLARE_NODE_FACTORY(SVGAnimateTransformElement);
36 36
37 SVGTransformType transformType() const { return m_type; } 37 SVGTransformType transformType() const { return m_type; }
38 38
39 private: 39 private:
40 explicit SVGAnimateTransformElement(Document&); 40 explicit SVGAnimateTransformElement(Document&);
41 41
42 virtual bool hasValidAttributeType() OVERRIDE; 42 virtual bool hasValidAttributeType() OVERRIDE;
43 43
44 bool isSupportedAttribute(const QualifiedName&); 44 bool isSupportedAttribute(const QualifiedName&);
45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE; 45 virtual void parseAttribute(const QualifiedName&, const AtomicString&) OVERR IDE;
46 46
47 SVGTransformType m_type; 47 SVGTransformType m_type;
48 }; 48 };
49 49
50 } // namespace WebCore 50 } // namespace WebCore
51 51
52 #endif // SVGAnimateTransformElement_h 52 #endif // SVGAnimateTransformElement_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGAnimateMotionElement.cpp ('k') | Source/core/svg/SVGAnimateTransformElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698