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

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: Removed explicit deletes of the ink drop delegates. 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..fe90712619d59a9ca0eee72b3daeaf840b146b88 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() : current_number_of_ink_drop_layers_(0) {}
TestInkDropHost::~TestInkDropHost() {}
-void TestInkDropHost::AddInkDropLayer(ui::Layer* ink_drop_layer) {}
+void TestInkDropHost::AddInkDropLayer(ui::Layer* ink_drop_layer) {
+ ++current_number_of_ink_drop_layers_;
+}
-void TestInkDropHost::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {}
+void TestInkDropHost::RemoveInkDropLayer(ui::Layer* ink_drop_layer) {
+ --current_number_of_ink_drop_layers_;
+}
gfx::Point TestInkDropHost::CalculateInkDropCenter() const {
return gfx::Point();

Powered by Google App Engine
This is Rietveld 408576698