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

Unified Diff: Source/core/svg/SVGPathSegArc.h

Issue 18706003: Get rid of SVGPathSeg* special casing in the bindings generator (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Created 7 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « Source/core/svg/SVGPathElement.cpp ('k') | Source/core/svg/SVGPathSegArcAbs.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathSegArc.h
diff --git a/Source/core/svg/SVGPathSegArc.h b/Source/core/svg/SVGPathSegArc.h
index b787a37baae83911a062f198d7780fdccd75e19a..eaf984924933832f2eb5969d512abb15992a6f41 100644
--- a/Source/core/svg/SVGPathSegArc.h
+++ b/Source/core/svg/SVGPathSegArc.h
@@ -99,42 +99,6 @@ private:
bool m_sweepFlag : 1;
};
-class SVGPathSegArcAbs : public SVGPathSegArc {
-public:
- static PassRefPtr<SVGPathSegArcAbs> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
- {
- return adoptRef(new SVGPathSegArcAbs(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
- }
-
-private:
- SVGPathSegArcAbs(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
- : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_ARC_ABS; }
- virtual String pathSegTypeAsLetter() const { return "A"; }
-};
-
-class SVGPathSegArcRel : public SVGPathSegArc {
-public:
- static PassRefPtr<SVGPathSegArcRel> create(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
- {
- return adoptRef(new SVGPathSegArcRel(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag));
- }
-
-private:
- SVGPathSegArcRel(SVGPathElement* element, SVGPathSegRole role, float x, float y, float r1, float r2, float angle, bool largeArcFlag, bool sweepFlag)
- : SVGPathSegArc(element, role, x, y, r1, r2, angle, largeArcFlag, sweepFlag)
- {
- ScriptWrappable::init(this);
- }
-
- virtual unsigned short pathSegType() const { return PATHSEG_ARC_REL; }
- virtual String pathSegTypeAsLetter() const { return "a"; }
-};
-
} // namespace WebCore
#endif
« no previous file with comments | « Source/core/svg/SVGPathElement.cpp ('k') | Source/core/svg/SVGPathSegArcAbs.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698