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

Side by Side Diff: Source/core/svg/SVGPatternElement.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
« no previous file with comments | « Source/core/svg/SVGPathElement.cpp ('k') | Source/core/svg/SVGPatternElement.cpp » ('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, 2006, 2008 Nikolas Zimmermann <zimmermann@kde.org> 2 * Copyright (C) 2004, 2005, 2006, 2008 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 * 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 23 matching lines...) Expand all
34 34
35 namespace WebCore { 35 namespace WebCore {
36 36
37 struct PatternAttributes; 37 struct PatternAttributes;
38 38
39 class SVGPatternElement FINAL : public SVGElement, 39 class SVGPatternElement FINAL : public SVGElement,
40 public SVGURIReference, 40 public SVGURIReference,
41 public SVGTests, 41 public SVGTests,
42 public SVGFitToViewBox { 42 public SVGFitToViewBox {
43 public: 43 public:
44 DEFINE_NODE_FACTORY(SVGPatternElement); 44 DECLARE_NODE_FACTORY(SVGPatternElement);
45 45
46 void collectPatternAttributes(PatternAttributes&) const; 46 void collectPatternAttributes(PatternAttributes&) const;
47 47
48 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const OVERRIDE; 48 virtual AffineTransform localCoordinateSpaceTransform(SVGElement::CTMScope) const OVERRIDE;
49 49
50 SVGAnimatedLength* x() const { return m_x.get(); } 50 SVGAnimatedLength* x() const { return m_x.get(); }
51 SVGAnimatedLength* y() const { return m_y.get(); } 51 SVGAnimatedLength* y() const { return m_y.get(); }
52 SVGAnimatedLength* width() const { return m_width.get(); } 52 SVGAnimatedLength* width() const { return m_width.get(); }
53 SVGAnimatedLength* height() const { return m_height.get(); } 53 SVGAnimatedLength* height() const { return m_height.get(); }
54 SVGAnimatedTransformList* patternTransform() { return m_patternTransform.get (); } 54 SVGAnimatedTransformList* patternTransform() { return m_patternTransform.get (); }
(...skipping 23 matching lines...) Expand all
78 RefPtr<SVGAnimatedLength> m_width; 78 RefPtr<SVGAnimatedLength> m_width;
79 RefPtr<SVGAnimatedLength> m_height; 79 RefPtr<SVGAnimatedLength> m_height;
80 RefPtr<SVGAnimatedTransformList> m_patternTransform; 80 RefPtr<SVGAnimatedTransformList> m_patternTransform;
81 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_patternUnits; 81 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_patternUnits;
82 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_patternContentU nits; 82 RefPtr<SVGAnimatedEnumeration<SVGUnitTypes::SVGUnitType> > m_patternContentU nits;
83 }; 83 };
84 84
85 } // namespace WebCore 85 } // namespace WebCore
86 86
87 #endif 87 #endif
OLDNEW
« no previous file with comments | « Source/core/svg/SVGPathElement.cpp ('k') | Source/core/svg/SVGPatternElement.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698