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

Unified Diff: ui/views/animation/test/test_ink_drop_host.cc

Issue 1390113006: Added material design mouse hover feedback support. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Changed the InkDropAnimationControllerImpl to destroy its timer when not running. 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
« no previous file with comments | « ui/views/animation/test/test_ink_drop_host.h ('k') | ui/views/controls/button/custom_button.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/views/animation/test/test_ink_drop_host.cc
diff --git a/ui/views/animation/test/test_ink_drop_host.cc b/ui/views/animation/test/test_ink_drop_host.cc
index 689f99768778f1559917fa3c601c3adc92d8936c..3b4661699fdb34fe9152ee7f1b17c84b41f3d3ef 100644
--- a/ui/views/animation/test/test_ink_drop_host.cc
+++ b/ui/views/animation/test/test_ink_drop_host.cc
@@ -6,7 +6,8 @@
namespace views {
-TestInkDropHost::TestInkDropHost() : num_ink_drop_layers_(0) {}
+TestInkDropHost::TestInkDropHost()
+ : num_ink_drop_layers_(0), should_show_hover_(false) {}
TestInkDropHost::~TestInkDropHost() {}
@@ -22,4 +23,8 @@ gfx::Point TestInkDropHost::CalculateInkDropCenter() const {
return gfx::Point();
}
+bool TestInkDropHost::ShouldShowInkDropHover() const {
+ return should_show_hover_;
+}
+
} // namespace views
« no previous file with comments | « ui/views/animation/test/test_ink_drop_host.h ('k') | ui/views/controls/button/custom_button.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698