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

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

Issue 2703593004: Support animating <number> custom properties (Closed)
Patch Set: Created 3 years, 10 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/CSSNumberInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.h
index 1fc7333588342b2b601df508a5e0db79f2139bfa..5c0d3107d9e5adf76d67d6f06b3cac4b912f3536 100644
--- a/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/CSSNumberInterpolationType.h
@@ -20,6 +20,10 @@ class CSSNumberInterpolationType : public CSSInterpolationType {
const NonInterpolableValue*,
StyleResolverState&) const final;
+ const CSSValue* createCSSValue(const InterpolableValue&,
+ const NonInterpolableValue*,
+ const StyleResolverState&) const final;
+
private:
InterpolationValue createNumberValue(double number) const;
InterpolationValue maybeConvertNeutral(const InterpolationValue& underlying,

Powered by Google App Engine
This is Rietveld 408576698