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

Unified Diff: cc/animation/keyframed_animation_curve.h

Issue 1076313006: Animation start scale should be considered for the raster scale (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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: cc/animation/keyframed_animation_curve.h
diff --git a/cc/animation/keyframed_animation_curve.h b/cc/animation/keyframed_animation_curve.h
index 131c930cc4227f5dbaca5f0ae49d166a6b9a80c8..b5dfb14628fabe044de8a155161655fe0a050743 100644
--- a/cc/animation/keyframed_animation_curve.h
+++ b/cc/animation/keyframed_animation_curve.h
@@ -196,6 +196,8 @@ class CC_EXPORT KeyframedTransformAnimationCurve
bool AffectsScale() const override;
bool PreservesAxisAlignment() const override;
bool IsTranslation() const override;
+ bool AnimationStartScale(bool forward_direction,
+ float* start_scale) const override;
bool MaximumTargetScale(bool forward_direction,
float* max_scale) const override;

Powered by Google App Engine
This is Rietveld 408576698