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: ui/compositor/transform_animation_curve_adapter.cc

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 | « ui/compositor/transform_animation_curve_adapter.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/compositor/transform_animation_curve_adapter.cc
diff --git a/ui/compositor/transform_animation_curve_adapter.cc b/ui/compositor/transform_animation_curve_adapter.cc
index 0f697e0bad29ba1c2d432c5bf0b03b10756d5363..5439e0a1ac7a7ccd23816105f15107d93a6114b2 100644
--- a/ui/compositor/transform_animation_curve_adapter.cc
+++ b/ui/compositor/transform_animation_curve_adapter.cc
@@ -75,6 +75,12 @@ bool TransformAnimationCurveAdapter::PreservesAxisAlignment() const {
(target_value_.IsIdentity() || target_value_.IsScaleOrTranslation());
}
+bool TransformAnimationCurveAdapter::AnimationStartScale(
+ bool forward_direction,
+ float* start_scale) const {
+ return false;
+}
+
bool TransformAnimationCurveAdapter::MaximumTargetScale(
bool forward_direction,
float* max_scale) const {
@@ -143,6 +149,12 @@ bool InverseTransformCurveAdapter::PreservesAxisAlignment() const {
(base_curve_.PreservesAxisAlignment());
}
+bool InverseTransformCurveAdapter::AnimationStartScale(
+ bool forward_direction,
+ float* start_scale) const {
+ return false;
+}
+
bool InverseTransformCurveAdapter::MaximumTargetScale(bool forward_direction,
float* max_scale) const {
return false;
« no previous file with comments | « ui/compositor/transform_animation_curve_adapter.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698