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

Unified Diff: mojo/shell/android/keyboard_impl.h

Issue 1049993002: Get mojo_shell building inside chromium checkout. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix presubmit Created 5 years, 9 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 | « mojo/shell/android/bootstrap.cc ('k') | mojo/shell/android/keyboard_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: mojo/shell/android/keyboard_impl.h
diff --git a/mojo/shell/android/keyboard_impl.h b/mojo/shell/android/keyboard_impl.h
new file mode 100644
index 0000000000000000000000000000000000000000..e40b7dd46322b49e7198b13947da5e206eb48f8d
--- /dev/null
+++ b/mojo/shell/android/keyboard_impl.h
@@ -0,0 +1,35 @@
+// Copyright 2015 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef SHELL_ANDROID_KEYBOARD_IMPL_H_
+#define SHELL_ANDROID_KEYBOARD_IMPL_H_
+
+#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 mojo {
+namespace shell {
+
+class KeyboardImpl : public Keyboard {
+ public:
+ KeyboardImpl(InterfaceRequest<Keyboard> request);
+ ~KeyboardImpl();
+
+ // Keyboard implementation
+ void Show() override;
+ void Hide() override;
+
+ private:
+ StrongBinding<Keyboard> binding_;
+};
+
+bool RegisterKeyboardJni(JNIEnv* env);
+
+} // namespace shell
+} // namespace mojo
+
+#endif // SHELL_ANDROID_KEYBOARD_IMPL_H_
« no previous file with comments | « mojo/shell/android/bootstrap.cc ('k') | mojo/shell/android/keyboard_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698