| Index: shell/android/keyboard_impl.h
|
| diff --git a/shell/android/keyboard_impl.h b/shell/android/keyboard_impl.h
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..e40b7dd46322b49e7198b13947da5e206eb48f8d
|
| --- /dev/null
|
| +++ b/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_
|
|
|