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

Unified Diff: cc/animation/layer_animation_controller.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/layer_animation_controller.h
diff --git a/cc/animation/layer_animation_controller.h b/cc/animation/layer_animation_controller.h
index d459515f5df365f3d68f96f3e4b571881d289656..b057840bfa9c8d9e563dccfcfa6d878a69b3679b 100644
--- a/cc/animation/layer_animation_controller.h
+++ b/cc/animation/layer_animation_controller.h
@@ -134,6 +134,9 @@ class CC_EXPORT LayerAnimationController
bool AnimationsPreserveAxisAlignment() const;
+ // Animation start scale
danakj 2015/04/23 18:24:08 better comment like the one below?
patro 2015/04/24 11:47:27 Done.
+ bool AnimationStartScale(float* start_scale) const;
+
// Sets |max_scale| to the maximum scale along any dimension at any
// destination in active animations. Returns false if the maximum scale cannot
// be computed.

Powered by Google App Engine
This is Rietveld 408576698