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

Unified Diff: cc/test/animation_test_common.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 | « cc/test/animation_test_common.h ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/test/animation_test_common.cc
diff --git a/cc/test/animation_test_common.cc b/cc/test/animation_test_common.cc
index d04c5d3bf3343fa0b0c282bd8c90f0219f4330b0..ef852797f23ef9f1c0a544099d855eda50dee964 100644
--- a/cc/test/animation_test_common.cc
+++ b/cc/test/animation_test_common.cc
@@ -174,6 +174,12 @@ bool FakeTransformTransition::PreservesAxisAlignment() const {
return true;
}
+bool FakeTransformTransition::AnimationStartScale(bool forward_direction,
+ float* start_scale) const {
+ *start_scale = 1.f;
+ return true;
+}
+
bool FakeTransformTransition::MaximumTargetScale(bool forward_direction,
float* max_scale) const {
*max_scale = 1.f;
« no previous file with comments | « cc/test/animation_test_common.h ('k') | cc/trees/layer_tree_host_common.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698