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

Unified Diff: ui/compositor/transform_animation_curve_adapter.h

Issue 642983003: cc: Make PictureLayerImpl use a better choice for animated raster scale. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: animationscale: scaledownstillcheckssize Created 6 years, 2 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: 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 43952ca9183a3cafdfabddbdb587544617e8d560..4b60a68ee7d5347a3b75e04bc4173a248f881b49 100644
--- a/ui/compositor/transform_animation_curve_adapter.h
+++ b/ui/compositor/transform_animation_curve_adapter.h
@@ -32,7 +32,7 @@ class COMPOSITOR_EXPORT TransformAnimationCurveAdapter
gfx::BoxF* bounds) const override;
virtual bool AffectsScale() const override;
virtual bool IsTranslation() const override;
- virtual bool MaximumScale(float* max_scale) const override;
+ virtual bool MaximumTargetScale(float* max_scale) const override;
ajuma 2014/10/10 15:43:03 This needs to a |forward_direction| argument too.
private:
gfx::Tween::Type tween_type_;
@@ -61,7 +61,7 @@ class COMPOSITOR_EXPORT InverseTransformCurveAdapter
gfx::BoxF* bounds) const override;
virtual bool AffectsScale() const override;
virtual bool IsTranslation() const override;
- virtual bool MaximumScale(float* max_scale) const override;
+ virtual bool MaximumTargetScale(float* max_scale) const override;
private:
TransformAnimationCurveAdapter base_curve_;

Powered by Google App Engine
This is Rietveld 408576698