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

Unified Diff: third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h

Issue 2284263002: Simplify SVGAnimatedTypeAnimator interface (Closed)
Patch Set: Created 4 years, 4 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
Index: third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h
diff --git a/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h b/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h
index c8ee8a6a02edebcb08759d80ef7963c74add717f..1d598c380e2ef378855eb9185ad5782a1b7e2fff 100644
--- a/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h
+++ b/third_party/WebKit/Source/core/svg/SVGAnimatedTypeAnimator.h
@@ -40,11 +40,8 @@ public:
void clear();
void reset(SVGElement* contextElement);
- SVGPropertyBase* constructFromString(const String&);
-
- SVGPropertyBase* startAnimValAnimation();
- void stopAnimValAnimation();
- SVGPropertyBase* resetAnimValToBaseVal();
+ SVGPropertyBase* createAnimatedValue();
+ SVGPropertyBase* createAnimatedValueFromString(const String&);
void calculateAnimatedValue(float percentage, unsigned repeatCount, SVGPropertyBase*, SVGPropertyBase*, SVGPropertyBase*, SVGPropertyBase*);
float calculateDistance(const String& fromString, const String& toString);
@@ -63,7 +60,6 @@ public:
private:
friend class ParsePropertyFromString;
SVGPropertyBase* createPropertyForAnimation(const String&);
- SVGPropertyBase* resetAnimation();
Member<SVGAnimationElement> m_animationElement;
Member<SVGElement> m_contextElement;

Powered by Google App Engine
This is Rietveld 408576698