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

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

Issue 478243002: bindings: Adds virtual ScriptWrappable::wrap method. (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Synced. Created 6 years, 3 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.h ('k') | Source/core/svg/SVGPathSegArcAbs.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, 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, 2008 Rob Buis <buis@kde.org> 3 * Copyright (C) 2004, 2005, 2006, 2008 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 PathSegCurveToCubicSmoothRel = 17, 56 PathSegCurveToCubicSmoothRel = 17,
57 PathSegCurveToQuadraticSmoothAbs = 18, 57 PathSegCurveToQuadraticSmoothAbs = 18,
58 PathSegCurveToQuadraticSmoothRel = 19 58 PathSegCurveToQuadraticSmoothRel = 19
59 }; 59 };
60 60
61 class SVGPropertyBase; 61 class SVGPropertyBase;
62 class SVGPathElement; 62 class SVGPathElement;
63 class SVGElement; 63 class SVGElement;
64 64
65 class SVGPathSeg : public RefCounted<SVGPathSeg>, public ScriptWrappable { 65 class SVGPathSeg : public RefCounted<SVGPathSeg>, public ScriptWrappable {
66 DEFINE_WRAPPERTYPEINFO();
66 public: 67 public:
67 // SVGPathSeg itself is used as a tear-off type. 68 // SVGPathSeg itself is used as a tear-off type.
68 // FIXME: A tear-off type should be introduced to distinguish animVal/baseVa l 69 // FIXME: A tear-off type should be introduced to distinguish animVal/baseVa l
69 typedef SVGPathSeg TearOffType; 70 typedef SVGPathSeg TearOffType;
70 71
71 explicit SVGPathSeg(SVGPathElement* contextElement); 72 explicit SVGPathSeg(SVGPathElement* contextElement);
72 73
73 virtual ~SVGPathSeg() { } 74 virtual ~SVGPathSeg() { }
74 75
75 // Forward declare these enums in the w3c naming scheme, for IDL generation 76 // Forward declare these enums in the w3c naming scheme, for IDL generation
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
124 void commitChange(); 125 void commitChange();
125 126
126 private: 127 private:
127 // FIXME: oilpan: These are kept as raw ptrs to break reference cycle. Shoul d be Member in oilpan. 128 // FIXME: oilpan: These are kept as raw ptrs to break reference cycle. Shoul d be Member in oilpan.
128 SVGPropertyBase* m_ownerList; 129 SVGPropertyBase* m_ownerList;
129 SVGElement* m_contextElement; 130 SVGElement* m_contextElement;
130 }; 131 };
131 132
132 } // namespace blink 133 } // namespace blink
133 134
134 #endif 135 #endif // SVGPathSeg_h
OLDNEW
« no previous file with comments | « Source/core/svg/SVGPathElement.h ('k') | Source/core/svg/SVGPathSegArcAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698