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

Unified Diff: third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.h

Issue 2750293003: Delete unused AnimatableValue code (Closed)
Patch Set: Fix unit tests Created 3 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
Index: third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.h
diff --git a/third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.h b/third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.h
index 3d367db7116279bf10e6a8e8edda503956dab47e..2d7d79bb605b03b3f68f5542c652985fbc691949 100644
--- a/third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.h
+++ b/third_party/WebKit/Source/core/animation/animatable/AnimatableRepeatable.h
@@ -40,7 +40,7 @@ namespace blink {
// This class represents collections of values that animate in a repeated
// fashion as described by the CSS Transitions spec:
// http://www.w3.org/TR/css3-transitions/#animtype-repeatable-list
-class CORE_EXPORT AnimatableRepeatable : public AnimatableValue {
+class AnimatableRepeatable : public AnimatableValue {
public:
~AnimatableRepeatable() override {}
@@ -50,8 +50,6 @@ class CORE_EXPORT AnimatableRepeatable : public AnimatableValue {
return adoptRef(new AnimatableRepeatable(values));
}
- const Vector<RefPtr<AnimatableValue>>& values() const { return m_values; }
-
protected:
AnimatableRepeatable() {}
AnimatableRepeatable(Vector<RefPtr<AnimatableValue>>& values) {
@@ -59,20 +57,9 @@ class CORE_EXPORT AnimatableRepeatable : public AnimatableValue {
m_values.swap(values);
}
- static bool interpolateLists(
- const Vector<RefPtr<AnimatableValue>>& fromValues,
- const Vector<RefPtr<AnimatableValue>>& toValues,
- double fraction,
- Vector<RefPtr<AnimatableValue>>& interpolatedValues);
-
- bool usesDefaultInterpolationWith(const AnimatableValue*) const override;
-
Vector<RefPtr<AnimatableValue>> m_values;
private:
- PassRefPtr<AnimatableValue> interpolateTo(const AnimatableValue*,
- double fraction) const override;
-
AnimatableType type() const override { return TypeRepeatable; }
bool equalTo(const AnimatableValue*) const final;
};

Powered by Google App Engine
This is Rietveld 408576698