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

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

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.h
diff --git a/ui/compositor/test/layer_animator_test_controller.h b/ui/compositor/test/layer_animator_test_controller.h
index 0f8d1e8a3a4735e03a9ba43710064bd633451c95..92798f330d56c6aee54c92c12b0690e7f4395fcd 100644
--- a/ui/compositor/test/layer_animator_test_controller.h
+++ b/ui/compositor/test/layer_animator_test_controller.h
@@ -25,6 +25,9 @@ class LayerAnimatorTestController {
// Starts threaded animations that are waiting for an effective start time.
void StartThreadedAnimationsIfNeeded();
+ // Progresses all running animations by the given |duration|.
+ void Step(const base::TimeDelta& duration);
+
private:
scoped_refptr<LayerAnimator> animator_;
};
« no previous file with comments | « no previous file | ui/compositor/test/layer_animator_test_controller.cc » ('j') | ui/views/animation/ink_drop_animation.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698