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

Unified Diff: ui/keyboard/webui/vk_mojo_handler.h

Issue 728133002: Update mojo sdk to rev e01f9a49449381a5eb430c1fd88bf2cae73ec35a (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: android + ios gyp fixes Created 6 years, 1 month 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
« no previous file with comments | « mojo/services/public/mojo_services_public.gyp ('k') | ui/keyboard/webui/vk_mojo_handler.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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 5a25abd9df3086784d879ef0ad5e823a79bd536f..8d69d1500f224f912fe2ef6139dbd8f5a29ee8be 100644
--- a/ui/keyboard/webui/vk_mojo_handler.h
+++ b/ui/keyboard/webui/vk_mojo_handler.h
@@ -6,23 +6,21 @@
#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 mojo::InterfaceImpl<KeyboardUIHandlerMojo>,
+class VKMojoHandler : public KeyboardUIHandlerMojo,
public ui::InputMethodObserver {
public:
- VKMojoHandler();
+ explicit VKMojoHandler(mojo::InterfaceRequest<KeyboardUIHandlerMojo> request);
~VKMojoHandler() override;
private:
ui::InputMethod* GetInputMethod();
- // mojo::InterfaceImpl<>:
- void OnConnectionEstablished() override;
-
// KeyboardUIHandlerMojo:
void SendKeyEvent(const mojo::String& event_type,
int32_t char_value,
@@ -40,6 +38,8 @@ class VKMojoHandler : public mojo::InterfaceImpl<KeyboardUIHandlerMojo>,
void OnInputMethodDestroyed(const ui::InputMethod* input_method) override;
void OnShowImeIfNeeded() override;
+ mojo::Binding<KeyboardUIHandlerMojo> binding_;
+
DISALLOW_COPY_AND_ASSIGN(VKMojoHandler);
};
« no previous file with comments | « mojo/services/public/mojo_services_public.gyp ('k') | ui/keyboard/webui/vk_mojo_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698