Index: shell/android/keyboard_impl.h |
diff --git a/shell/android/keyboard_impl.h b/shell/android/keyboard_impl.h |
index f633c6075a755925b813cc983dde77f270674b50..6a40a611c083569ad896de3166a7543bf44fccc4 100644 |
--- a/shell/android/keyboard_impl.h |
+++ b/shell/android/keyboard_impl.h |
@@ -8,22 +8,14 @@ |
#include <jni.h> |
#include "mojo/public/cpp/bindings/interface_request.h" |
-#include "mojo/public/cpp/bindings/strong_binding.h" |
#include "mojo/services/keyboard/public/interfaces/keyboard.mojom.h" |
namespace shell { |
-class KeyboardImpl : public mojo::Keyboard { |
+class KeyboardImpl { |
public: |
- explicit KeyboardImpl(mojo::InterfaceRequest<mojo::Keyboard> request); |
- ~KeyboardImpl(); |
- |
- // mojo::Keyboard implementation |
- void Show() override; |
- void Hide() override; |
- |
- private: |
- mojo::StrongBinding<mojo::Keyboard> binding_; |
+ static void CreateKeyboardImpl( |
+ mojo::InterfaceRequest<keyboard::KeyboardService> request); |
}; |
bool RegisterKeyboardJni(JNIEnv* env); |