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

Unified Diff: ui/compositor/test/layer_animator_test_controller.cc

Issue 1495753002: Make the material design ripple effect more visible on a quick action (single click or single tap) (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Added tests and addressed comments from previous patch sets. Created 4 years, 11 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/test/layer_animator_test_controller.cc
diff --git a/ui/compositor/test/layer_animator_test_controller.cc b/ui/compositor/test/layer_animator_test_controller.cc
index 37846aea29cde1bdb8e43781c53595e6a6ed1976..6ec2cf3a42380b7a07015ef27d52be18fd143d87 100644
--- a/ui/compositor/test/layer_animator_test_controller.cc
+++ b/ui/compositor/test/layer_animator_test_controller.cc
@@ -56,4 +56,8 @@ void LayerAnimatorTestController::StartThreadedAnimationsIfNeeded() {
}
}
+void LayerAnimatorTestController::Step(const base::TimeDelta& duration) {
+ animator_->Step(animator_->last_step_time() + duration);
+}
+
} // namespace ui

Powered by Google App Engine
This is Rietveld 408576698