Chromium Code Reviews

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

Issue 1023993002: Rework the SVGPathSource interface (Closed) Base URL: svn://svn.chromium.org/blink/trunk
Patch Set: Blender fixups. Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments.
Jump to:
View side-by-side diff with in-line comments
« no previous file with comments | « Source/core/svg/SVGPathBlender.cpp ('k') | Source/core/svg/SVGPathByteStreamSource.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Source/core/svg/SVGPathByteStreamSource.h
diff --git a/Source/core/svg/SVGPathByteStreamSource.h b/Source/core/svg/SVGPathByteStreamSource.h
index d29dfdb5103320dae52d73cbdb7755f2d7c8de5f..ba64a73dafe39c4d5eb6b0685c0d12a94615c9b9 100644
--- a/Source/core/svg/SVGPathByteStreamSource.h
+++ b/Source/core/svg/SVGPathByteStreamSource.h
@@ -36,19 +36,8 @@ public:
private:
virtual bool hasMoreData() const override;
- virtual bool moveToNextToken() override { return true; }
- virtual bool parseSVGSegmentType(SVGPathSegType&) override;
- virtual SVGPathSegType nextCommand(SVGPathSegType) override;
-
- virtual bool parseMoveToSegment(FloatPoint&) override;
- virtual bool parseLineToSegment(FloatPoint&) override;
- virtual bool parseLineToHorizontalSegment(float&) override;
- virtual bool parseLineToVerticalSegment(float&) override;
- virtual bool parseCurveToCubicSegment(FloatPoint&, FloatPoint&, FloatPoint&) override;
- virtual bool parseCurveToCubicSmoothSegment(FloatPoint&, FloatPoint&) override;
- virtual bool parseCurveToQuadraticSegment(FloatPoint&, FloatPoint&) override;
- virtual bool parseCurveToQuadraticSmoothSegment(FloatPoint&) override;
- virtual bool parseArcToSegment(float&, float&, float&, bool&, bool&, FloatPoint&) override;
+ virtual SVGPathSegType peekSegmentType() override;
+ virtual PathSegmentData parseSegment() override;
#if COMPILER(MSVC)
#pragma warning(disable: 4701)
« no previous file with comments | « Source/core/svg/SVGPathBlender.cpp ('k') | Source/core/svg/SVGPathByteStreamSource.cpp » ('j') | no next file with comments »

Powered by Google App Engine