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

Unified Diff: ui/compositor/transform_animation_curve_adapter.h

Issue 465853004: Moving RenderSurface creation outside of CalcDrawProps (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 1 month 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 c08024dd3aaef3e223f3b4a4b587dc226c44cc39..d5b3d72a694c7b14947bcb9397da2509305cce41 100644
--- a/ui/compositor/transform_animation_curve_adapter.h
+++ b/ui/compositor/transform_animation_curve_adapter.h
@@ -32,6 +32,7 @@ class COMPOSITOR_EXPORT TransformAnimationCurveAdapter
gfx::BoxF* bounds) const override;
bool AffectsScale() const override;
bool IsTranslation() const override;
+ bool PreservesAxisAlignment() const override;
bool MaximumTargetScale(bool forward_direction,
float* max_scale) const override;
@@ -62,6 +63,7 @@ class COMPOSITOR_EXPORT InverseTransformCurveAdapter
gfx::BoxF* bounds) const override;
bool AffectsScale() const override;
bool IsTranslation() const override;
+ bool PreservesAxisAlignment() const override;
bool MaximumTargetScale(bool forward_direction,
float* max_scale) const override;

Powered by Google App Engine
This is Rietveld 408576698