Index: third_party/WebKit/Source/core/animation/LengthInterpolationType.h |
diff --git a/third_party/WebKit/Source/core/animation/LengthInterpolationType.h b/third_party/WebKit/Source/core/animation/LengthInterpolationType.h |
deleted file mode 100644 |
index 8d35b951bcc7c4711de6b9cb8a3a70633a3c40e0..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/animation/LengthInterpolationType.h |
+++ /dev/null |
@@ -1,43 +0,0 @@ |
-// Copyright 2015 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 LengthInterpolationType_h |
-#define LengthInterpolationType_h |
- |
-#include "core/animation/CSSInterpolationType.h" |
-#include "core/animation/LengthPropertyFunctions.h" |
- |
-namespace blink { |
- |
-class ComputedStyle; |
- |
-class LengthInterpolationType : public CSSInterpolationType { |
-public: |
- LengthInterpolationType(CSSPropertyID); |
- |
- PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final; |
- void composite(UnderlyingValue&, double underlyingFraction, const InterpolationValue&) const final; |
- void apply(const InterpolableValue&, const NonInterpolableValue*, InterpolationEnvironment&) const final; |
- |
- static Length resolveInterpolableLength(const InterpolableValue&, const NonInterpolableValue*, const CSSToLengthConversionData&, ValueRange = ValueRangeAll); |
- static PassOwnPtr<InterpolableValue> createInterpolablePixels(double pixels); |
- static InterpolationComponent maybeConvertCSSValue(const CSSValue&); |
- |
-private: |
- float effectiveZoom(const ComputedStyle&) const; |
- |
- PassOwnPtr<InterpolationValue> maybeConvertLength(const Length&, float zoom) const; |
- PassOwnPtr<InterpolationValue> maybeConvertNeutral(const UnderlyingValue&, ConversionCheckers&) const final; |
- PassOwnPtr<InterpolationValue> maybeConvertInitial() const final; |
- PassOwnPtr<InterpolationValue> maybeConvertInherit(const StyleResolverState*, ConversionCheckers&) const final; |
- PassOwnPtr<InterpolationValue> maybeConvertValue(const CSSValue&, const StyleResolverState*, ConversionCheckers&) const final; |
- |
- PassOwnPtr<PairwisePrimitiveInterpolation> mergeSingleConversions(InterpolationValue&, InterpolationValue&) const final; |
- |
- const ValueRange m_valueRange; |
-}; |
- |
-} // namespace blink |
- |
-#endif // LengthInterpolationType_h |