| 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..42b5116fb88af37315d9b9cd07999efdd7c25b66 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,19 @@ InkDropHostViewTestApi::InkDropHostViewTestApi(InkDropHostView* host_view)
|
|
|
| InkDropHostViewTestApi::~InkDropHostViewTestApi() {}
|
|
|
| +void InkDropHostViewTestApi::SetHasInkDrop(bool has_an_ink_drop) {
|
| + host_view_->SetHasInkDrop(has_an_ink_drop);
|
| +}
|
| +
|
| void InkDropHostViewTestApi::SetInkDrop(std::unique_ptr<InkDrop> ink_drop) {
|
| host_view_->SetHasInkDrop(true);
|
| host_view_->ink_drop_ = std::move(ink_drop);
|
| }
|
|
|
| +bool InkDropHostViewTestApi::HasGestureHandler() const {
|
| + return host_view_->gesture_handler_ != nullptr;
|
| +}
|
| +
|
| gfx::Point InkDropHostViewTestApi::GetInkDropCenterBasedOnLastEvent() const {
|
| return host_view_->GetInkDropCenterBasedOnLastEvent();
|
| }
|
|
|