| Index: services/ui/input_manager/input_associate.h
|
| diff --git a/services/ui/input_manager/input_associate.h b/services/ui/input_manager/input_associate.h
|
| index 7f2fd7e0e87242c66f071963e90f24d4bfea02f3..743440b84d33ab2dc8c7cad38f84cd649a7d6fef 100644
|
| --- a/services/ui/input_manager/input_associate.h
|
| +++ b/services/ui/input_manager/input_associate.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "base/macros.h"
|
| #include "mojo/common/strong_binding_set.h"
|
| +#include "mojo/public/cpp/bindings/interface_handle.h"
|
| #include "mojo/services/ui/input/interfaces/input_connection.mojom.h"
|
| #include "mojo/services/ui/input/interfaces/input_dispatcher.mojom.h"
|
| #include "mojo/services/ui/views/interfaces/view_associates.mojom.h"
|
| @@ -29,7 +30,8 @@ class InputAssociate : public mojo::ui::ViewAssociate {
|
| ~InputConnectionImpl() override;
|
|
|
| private:
|
| - void SetListener(mojo::ui::InputListenerPtr listener) override;
|
| + void SetListener(
|
| + mojo::InterfaceHandle<mojo::ui::InputListener> listener) override;
|
|
|
| InputAssociate* const associate_;
|
| mojo::ui::ViewTokenPtr view_token_;
|
| @@ -55,7 +57,7 @@ class InputAssociate : public mojo::ui::ViewAssociate {
|
| };
|
|
|
| // |ViewAssociate|:
|
| - void Connect(mojo::ui::ViewInspectorPtr inspector,
|
| + void Connect(mojo::InterfaceHandle<mojo::ui::ViewInspector> inspector,
|
| const ConnectCallback& callback) override;
|
| void ConnectToViewService(
|
| mojo::ui::ViewTokenPtr view_token,
|
| @@ -68,7 +70,7 @@ class InputAssociate : public mojo::ui::ViewAssociate {
|
|
|
| // Incoming service calls.
|
| void SetListener(mojo::ui::ViewToken* view_token,
|
| - mojo::ui::InputListenerPtr listener);
|
| + mojo::InterfaceHandle<mojo::ui::InputListener> listener);
|
| void DispatchEvent(mojo::ui::ViewTreeToken* view_tree_token,
|
| mojo::EventPtr event);
|
|
|
|
|