| Index: ui/keyboard/webui/vk_mojo_handler.h
|
| diff --git a/ui/keyboard/webui/vk_mojo_handler.h b/ui/keyboard/webui/vk_mojo_handler.h
|
| index 8d69d1500f224f912fe2ef6139dbd8f5a29ee8be..5a25abd9df3086784d879ef0ad5e823a79bd536f 100644
|
| --- a/ui/keyboard/webui/vk_mojo_handler.h
|
| +++ b/ui/keyboard/webui/vk_mojo_handler.h
|
| @@ -6,20 +6,22 @@
|
| #define UI_KEYBOARD_WEBUI_VK_MOJO_HANDLER_H_
|
|
|
| #include "base/macros.h"
|
| -#include "mojo/public/cpp/bindings/binding.h"
|
| #include "ui/base/ime/input_method_observer.h"
|
| #include "ui/keyboard/webui/keyboard.mojom.h"
|
|
|
| namespace keyboard {
|
|
|
| -class VKMojoHandler : public KeyboardUIHandlerMojo,
|
| +class VKMojoHandler : public mojo::InterfaceImpl<KeyboardUIHandlerMojo>,
|
| public ui::InputMethodObserver {
|
| public:
|
| - explicit VKMojoHandler(mojo::InterfaceRequest<KeyboardUIHandlerMojo> request);
|
| + VKMojoHandler();
|
| ~VKMojoHandler() override;
|
|
|
| private:
|
| ui::InputMethod* GetInputMethod();
|
| +
|
| + // mojo::InterfaceImpl<>:
|
| + void OnConnectionEstablished() override;
|
|
|
| // KeyboardUIHandlerMojo:
|
| void SendKeyEvent(const mojo::String& event_type,
|
| @@ -38,8 +40,6 @@
|
| void OnInputMethodDestroyed(const ui::InputMethod* input_method) override;
|
| void OnShowImeIfNeeded() override;
|
|
|
| - mojo::Binding<KeyboardUIHandlerMojo> binding_;
|
| -
|
| DISALLOW_COPY_AND_ASSIGN(VKMojoHandler);
|
| };
|
|
|
|
|