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

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

Issue 1478303003: Converted all Views to use an InkDropDelegate instead of a InkDropAnimationController. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Merge with master. Created 5 years 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/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 b853820c1ac3cb42784b33db98609261f420c842..689f99768778f1559917fa3c601c3adc92d8936c 100644
--- a/ui/views/animation/test/test_ink_drop_host.cc
+++ b/ui/views/animation/test/test_ink_drop_host.cc
@@ -6,13 +6,17 @@
namespace views {
-TestInkDropHost::TestInkDropHost() {}
+TestInkDropHost::TestInkDropHost() : num_ink_drop_layers_(0) {}
TestInkDropHost::~TestInkDropHost() {}
-void TestInkDropHost::AddInkDropLayer(ui::Layer* ink_drop_layer) {}
+void TestInkDropHost::AddInkDropLayer(ui::Layer* ink_drop_layer) {
+ ++num_ink_drop_layers_;
+}
-void TestInkDropHost::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {}
+void TestInkDropHost::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
+ --num_ink_drop_layers_;
+}
gfx::Point TestInkDropHost::CalculateInkDropCenter() const {
return gfx::Point();

Powered by Google App Engine
This is Rietveld 408576698