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

Unified Diff: cc/animation/animation_curve.h

Issue 2971503002: Transform animations should not collapse by default when interpolating (Closed)
Patch Set: try again Created 3 years, 6 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
« no previous file with comments | « no previous file | cc/animation/animation_player.cc » ('j') | cc/animation/transform_operation.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/animation/animation_curve.h
diff --git a/cc/animation/animation_curve.h b/cc/animation/animation_curve.h
index 72b8e6309148ccfaf5390d408ee1905dbc56b769..1b78222816167dc1d8323c58c47d3c81b63dd397 100644
--- a/cc/animation/animation_curve.h
+++ b/cc/animation/animation_curve.h
@@ -23,6 +23,7 @@ class FilterAnimationCurve;
class FloatAnimationCurve;
class ScrollOffsetAnimationCurve;
class TransformAnimationCurve;
+class TransformOperations;
// An animation curve is a function that returns a value given a time.
class CC_ANIMATION_EXPORT AnimationCurve {
@@ -68,7 +69,7 @@ class CC_ANIMATION_EXPORT TransformAnimationCurve : public AnimationCurve {
public:
~TransformAnimationCurve() override {}
- virtual gfx::Transform GetValue(base::TimeDelta t) const = 0;
+ virtual TransformOperations GetValue(base::TimeDelta t) const = 0;
// Sets |bounds| to be the bounding box for the region within which |box|
// will move during this animation. If this region cannot be computed,
« no previous file with comments | « no previous file | cc/animation/animation_player.cc » ('j') | cc/animation/transform_operation.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698