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

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

Issue 728043002: Revert of Update mojo sdk to rev afb4440fd5a10cba980878c326180b7ad7960480 (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: 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/js/mojo.js ('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 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);
};
« no previous file with comments | « mojo/services/public/js/mojo.js ('k') | ui/keyboard/webui/vk_mojo_handler.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698