Index: ui/views/animation/test/ink_drop_host_view_test_api.cc |
diff --git a/ui/views/animation/test/ink_drop_host_view_test_api.cc b/ui/views/animation/test/ink_drop_host_view_test_api.cc |
index 957ec2091fd908aee7a4bbece3022c5a73a0430e..c2955ba4cfc9ca9d386a093bb2a2cfefafbf351b 100644 |
--- a/ui/views/animation/test/ink_drop_host_view_test_api.cc |
+++ b/ui/views/animation/test/ink_drop_host_view_test_api.cc |
@@ -12,11 +12,16 @@ InkDropHostViewTestApi::InkDropHostViewTestApi(InkDropHostView* host_view) |
InkDropHostViewTestApi::~InkDropHostViewTestApi() {} |
-void InkDropHostViewTestApi::SetInkDrop(std::unique_ptr<InkDrop> ink_drop) { |
- host_view_->SetHasInkDrop(true); |
+void InkDropHostViewTestApi::SetInkDrop(std::unique_ptr<InkDrop> ink_drop, |
+ bool handles_gesture_event) { |
+ host_view_->SetHasInkDrop(true, handles_gesture_event); |
host_view_->ink_drop_ = std::move(ink_drop); |
} |
+void InkDropHostViewTestApi::SetInkDrop(std::unique_ptr<InkDrop> ink_drop) { |
+ SetInkDrop(std::move(ink_drop), true); |
+} |
+ |
gfx::Point InkDropHostViewTestApi::GetInkDropCenterBasedOnLastEvent() const { |
return host_view_->GetInkDropCenterBasedOnLastEvent(); |
} |