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

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. 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/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
This is Rietveld 408576698