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

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

Issue 2680163004: Animations: Smooth interpolation for translate none (Closed)
Patch Set: createNoneValue isNoneValue 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/CSSTranslateInterpolationType.h
diff --git a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.h b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.h
index d2db4943bcd3bae377ae18527b13227ac9692346..4a2759aeb18d7b96abe1799349c38bcb6cb08d14 100644
--- a/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.h
+++ b/third_party/WebKit/Source/core/animation/CSSTranslateInterpolationType.h
@@ -18,6 +18,10 @@ class CSSTranslateInterpolationType : public CSSInterpolationType {
InterpolationValue maybeConvertStandardPropertyUnderlyingValue(
const ComputedStyle&) const final;
+ void composite(UnderlyingValueOwner&,
+ double underlyingFraction,
+ const InterpolationValue&,
+ double interpolationFraction) const final;
void applyStandardPropertyValue(const InterpolableValue&,
const NonInterpolableValue*,
StyleResolverState&) const final;
@@ -32,6 +36,10 @@ class CSSTranslateInterpolationType : public CSSInterpolationType {
InterpolationValue maybeConvertValue(const CSSValue&,
const StyleResolverState*,
ConversionCheckers&) const final;
+
+ PairwiseInterpolationValue maybeMergeSingles(
+ InterpolationValue&&,
+ InterpolationValue&&) const final;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698