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

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

Issue 1394343003: Web Animations: Remove CSS dependence from InterpolationType (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@_specialCase0and1
Patch Set: NIVs 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/ColorInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/ColorInterpolationType.h b/third_party/WebKit/Source/core/animation/ColorInterpolationType.h
index d2838f8a3e889b51015927738e1ef2a1f69634b9..10150339c44410bfa4c0daeb9a3346b395d69e10 100644
--- a/third_party/WebKit/Source/core/animation/ColorInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/ColorInterpolationType.h
@@ -6,21 +6,21 @@
#define ColorInterpolationType_h
#include "core/CSSValueKeywords.h"
-#include "core/animation/InterpolationType.h"
+#include "core/animation/CSSInterpolationType.h"
#include "platform/graphics/Color.h"
namespace blink {
class StyleColor;
-class ColorInterpolationType : public InterpolationType {
+class ColorInterpolationType : public CSSInterpolationType {
public:
ColorInterpolationType(CSSPropertyID property)
- : InterpolationType(property)
+ : CSSInterpolationType(property)
{ }
- PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const StyleResolverState&) const final;
- void apply(const InterpolableValue&, const NonInterpolableValue*, StyleResolverState&) const final;
+ 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);

Powered by Google App Engine
This is Rietveld 408576698