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

Unified Diff: shell/android/keyboard_impl.h

Issue 1088793003: Expose sky KeyboardService in android mojo_shell (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 8 months 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 | « shell/android/apk/src/org/chromium/mojo/shell/Keyboard.java ('k') | shell/android/keyboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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);
« no previous file with comments | « shell/android/apk/src/org/chromium/mojo/shell/Keyboard.java ('k') | shell/android/keyboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698