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

Unified Diff: Source/core/animation/LengthPoint3DStyleInterpolation.h

Issue 851633002: Animation: Add template for ListStyleInterpolation (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Created 5 years, 11 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: Source/core/animation/LengthPoint3DStyleInterpolation.h
diff --git a/Source/core/animation/LengthPoint3DStyleInterpolation.h b/Source/core/animation/LengthPoint3DStyleInterpolation.h
deleted file mode 100644
index 6a99b6d985b37b2599b8ba71b8b721b3da9d9ec8..0000000000000000000000000000000000000000
--- a/Source/core/animation/LengthPoint3DStyleInterpolation.h
+++ /dev/null
@@ -1,38 +0,0 @@
-// Copyright 2014 The Chromium Authors. All rights reserved.
-// Use of this source code is governed by a BSD-style license that can be
-// found in the LICENSE file.
-
-#ifndef LengthPoint3DStyleInterpolation_h
-#define LengthPoint3DStyleInterpolation_h
-
-#include "core/animation/LengthStyleInterpolation.h"
-#include "core/css/CSSValueList.h"
-
-namespace blink {
-
-class LengthPoint3DStyleInterpolation : public StyleInterpolation {
-public:
- static PassRefPtrWillBeRawPtr<LengthPoint3DStyleInterpolation> create(const CSSValue& start, const CSSValue& end, CSSPropertyID id)
- {
- return adoptRefWillBeNoop(new LengthPoint3DStyleInterpolation(lengthPoint3DtoInterpolableValue(start), lengthPoint3DtoInterpolableValue(end), id));
- }
-
- static bool canCreateFrom(const CSSValue&);
-
- virtual void apply(StyleResolverState&) const override;
- virtual void trace(Visitor*) override;
-
-private:
- LengthPoint3DStyleInterpolation(PassOwnPtrWillBeRawPtr<InterpolableValue> start, PassOwnPtrWillBeRawPtr<InterpolableValue> end, CSSPropertyID id)
- : StyleInterpolation(start, end, id)
- { }
-
- static PassOwnPtrWillBeRawPtr<InterpolableValue> lengthPoint3DtoInterpolableValue(const CSSValue&);
- static PassRefPtrWillBeRawPtr<CSSValue> interpolableValueToLengthPoint3D(InterpolableValue*, InterpolationRange = RangeAll);
-
- friend class AnimationLengthPoint3DStyleInterpolationTest;
-};
-
-} // namespace blink
-
-#endif // LengthPoint3DStyleInterpolation_h

Powered by Google App Engine
This is Rietveld 408576698