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

Unified Diff: ui/compositor/transform_animation_curve_adapter.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: Rebasing and Added more tests 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
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | ui/compositor/transform_animation_curve_adapter.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/transform_animation_curve_adapter.h
diff --git a/ui/compositor/transform_animation_curve_adapter.h b/ui/compositor/transform_animation_curve_adapter.h
index ba88c5969d5d860b095d827fc602cde025c14c81..5713bad1d49311f5a3a3fa08f4c97ad1a1354d8f 100644
--- a/ui/compositor/transform_animation_curve_adapter.h
+++ b/ui/compositor/transform_animation_curve_adapter.h
@@ -33,6 +33,8 @@ class COMPOSITOR_EXPORT TransformAnimationCurveAdapter
bool AffectsScale() const override;
bool IsTranslation() const override;
bool PreservesAxisAlignment() const override;
+ bool AnimationStartScale(bool forward_direction,
+ float* start_scale) const override;
bool MaximumTargetScale(bool forward_direction,
float* max_scale) const override;
@@ -64,6 +66,8 @@ class COMPOSITOR_EXPORT InverseTransformCurveAdapter
bool AffectsScale() const override;
bool IsTranslation() const override;
bool PreservesAxisAlignment() const override;
+ bool AnimationStartScale(bool forward_direction,
+ float* start_scale) const override;
bool MaximumTargetScale(bool forward_direction,
float* max_scale) const override;
« no previous file with comments | « cc/trees/layer_tree_host_common.cc ('k') | ui/compositor/transform_animation_curve_adapter.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698