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

Unified Diff: third_party/WebKit/Source/core/animation/ImageInterpolationType.h

Issue 1409073009: Prefix CSSInterpolationType subclasses with "CSS" (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_unCSSInterpolationType
Patch Set: CSSNIVs Created 5 years, 2 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/ImageInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/ImageInterpolationType.h b/third_party/WebKit/Source/core/animation/ImageInterpolationType.h
deleted file mode 100644
index 771f6baa0d39a882c3b838068558f1d8ef208e88..0000000000000000000000000000000000000000
--- a/third_party/WebKit/Source/core/animation/ImageInterpolationType.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 ImageInterpolationType_h
-#define ImageInterpolationType_h
-
-#include "core/animation/CSSInterpolationType.h"
-
-namespace blink {
-
-class StyleImage;
-
-class ImageInterpolationType : public CSSInterpolationType {
-public:
- ImageInterpolationType(CSSPropertyID property)
- : CSSInterpolationType(property)
- { }
-
- 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 InterpolationComponent maybeConvertCSSValue(const CSSValue&, bool acceptGradients);
- static InterpolationComponent maybeConvertStyleImage(const StyleImage&, bool acceptGradients);
- static InterpolationComponent maybeConvertStyleImage(const StyleImage* image, bool acceptGradients) { return image ? maybeConvertStyleImage(*image, acceptGradients) : nullptr; }
- static PairwiseInterpolationComponent mergeSingleConversionComponents(InterpolationComponent& startValue, InterpolationComponent& endValue);
- static PassRefPtrWillBeRawPtr<CSSValue> createCSSValue(const InterpolableValue&, const NonInterpolableValue*);
- static PassRefPtrWillBeRawPtr<StyleImage> resolveStyleImage(CSSPropertyID, const InterpolableValue&, const NonInterpolableValue*, StyleResolverState&);
- static bool equalNonInterpolableValues(const NonInterpolableValue*, const NonInterpolableValue*);
-
-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<PairwisePrimitiveInterpolation> mergeSingleConversions(InterpolationValue& startValue, InterpolationValue& endValue) const final;
-};
-
-} // namespace blink
-
-#endif // ImageInterpolationType_h

Powered by Google App Engine
This is Rietveld 408576698