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

Side by Side Diff: shell/android/keyboard_impl.h

Issue 856063002: Adding keyboard service. (Closed) Base URL: https://github.com/domokit/mojo.git@master
Patch Set: Fix local variable Created 5 years, 11 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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef SHELL_ANDROID_KEYBOARD_IMPL_H_
6 #define SHELL_ANDROID_KEYBOARD_IMPL_H_
7
8 #include <jni.h>
9
10 #include "mojo/public/cpp/bindings/interface_request.h"
11 #include "mojo/public/cpp/bindings/strong_binding.h"
12 #include "mojo/services/keyboard/public/interfaces/keyboard.mojom.h"
13
14 namespace mojo {
15 namespace shell {
16
17 class KeyboardImpl : public Keyboard {
18 public:
19 KeyboardImpl(InterfaceRequest<Keyboard> request);
20 ~KeyboardImpl();
21
22 // Keyboard implementation
23 void Show() override;
24 void Hide() override;
25
26 private:
27 StrongBinding<Keyboard> binding_;
28 };
29
30 bool RegisterKeyboardJni(JNIEnv* env);
31
32 } // namespace shell
33 } // namespace mojo
34
35 #endif // SHELL_ANDROID_KEYBOARD_IMPL_H_
OLDNEW
« 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