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

Unified Diff: third_party/WebKit/Source/core/animation/ShadowListInterpolationType.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/ShadowListInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/ShadowListInterpolationType.h b/third_party/WebKit/Source/core/animation/ShadowListInterpolationType.h
index faadf42892c748d1db5fbb934d29bb0ca092a250..82d847c1adcd00678f7da886b0dc5fdf0c302be1 100644
--- a/third_party/WebKit/Source/core/animation/ShadowListInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/ShadowListInterpolationType.h
@@ -5,21 +5,21 @@
#ifndef ShadowListInterpolationType_h
#define ShadowListInterpolationType_h
-#include "core/animation/InterpolationType.h"
+#include "core/animation/CSSInterpolationType.h"
namespace blink {
class ShadowList;
-class ShadowListInterpolationType : public InterpolationType {
+class ShadowListInterpolationType : public CSSInterpolationType {
public:
ShadowListInterpolationType(CSSPropertyID property)
- : InterpolationType(property)
+ : CSSInterpolationType(property)
{ }
- PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const StyleResolverState&) const final;
+ PassOwnPtr<InterpolationValue> maybeConvertUnderlyingValue(const InterpolationEnvironment&) const final;
void composite(UnderlyingValue&, double underlyingFraction, const InterpolationValue&) const final;
- void apply(const InterpolableValue&, const NonInterpolableValue*, StyleResolverState&) const final;
+ void apply(const InterpolableValue&, const NonInterpolableValue*, InterpolationEnvironment&) const final;
private:
PassOwnPtr<InterpolationValue> convertShadowList(const ShadowList*, double zoom) const;

Powered by Google App Engine
This is Rietveld 408576698