Index: third_party/WebKit/Source/core/animation/ColorInterpolationType.h |
diff --git a/third_party/WebKit/Source/core/animation/ColorInterpolationType.h b/third_party/WebKit/Source/core/animation/ColorInterpolationType.h |
deleted file mode 100644 |
index 10150339c44410bfa4c0daeb9a3346b395d69e10..0000000000000000000000000000000000000000 |
--- a/third_party/WebKit/Source/core/animation/ColorInterpolationType.h |
+++ /dev/null |
@@ -1,41 +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 ColorInterpolationType_h |
-#define ColorInterpolationType_h |
- |
-#include "core/CSSValueKeywords.h" |
-#include "core/animation/CSSInterpolationType.h" |
-#include "platform/graphics/Color.h" |
- |
-namespace blink { |
- |
-class StyleColor; |
- |
-class ColorInterpolationType : public CSSInterpolationType { |
-public: |
- ColorInterpolationType(CSSPropertyID property) |
- : CSSInterpolationType(property) |
- { } |
- |
- PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final; |
- void apply(const InterpolableValue&, const NonInterpolableValue*, InterpolationEnvironment&) const final; |
- |
- static PassOwnPtr<InterpolableValue> createInterpolableColor(const Color&); |
- static PassOwnPtr<InterpolableValue> createInterpolableColor(CSSValueID); |
- static PassOwnPtr<InterpolableValue> createInterpolableColor(const StyleColor&); |
- static PassOwnPtr<InterpolableValue> maybeCreateInterpolableColor(const CSSValue&); |
- static Color resolveInterpolableColor(const InterpolableValue& interpolableColor, const StyleResolverState&, bool isVisited = false, bool isTextDecoration = false); |
- |
-private: |
- 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<InterpolationValue> convertStyleColorPair(const StyleColor&, const StyleColor&) const; |
-}; |
- |
-} // namespace blink |
- |
-#endif // ColorInterpolationType_h |