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

Unified Diff: shell/android/native_viewport_application_loader.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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « shell/android/mojo_main.cc ('k') | shell/android/native_viewport_application_loader.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/native_viewport_application_loader.h
diff --git a/shell/android/native_viewport_application_loader.h b/shell/android/native_viewport_application_loader.h
index f5d53ea3d95c483d271ddacd342376d354927405..060d3aad1e1bffac735e7538eb04e932ca61a087 100644
--- a/shell/android/native_viewport_application_loader.h
+++ b/shell/android/native_viewport_application_loader.h
@@ -8,6 +8,7 @@
#include "mojo/public/cpp/application/application_delegate.h"
#include "mojo/public/cpp/application/interface_factory.h"
#include "mojo/services/gpu/public/interfaces/gpu.mojom.h"
+#include "mojo/services/keyboard/public/interfaces/keyboard.mojom.h"
#include "mojo/services/native_viewport/public/interfaces/native_viewport.mojom.h"
#include "services/gles2/gpu_impl.h"
#include "shell/application_manager/application_loader.h"
@@ -20,6 +21,7 @@ namespace shell {
class NativeViewportApplicationLoader : public ApplicationLoader,
public ApplicationDelegate,
+ public InterfaceFactory<Keyboard>,
public InterfaceFactory<NativeViewport>,
public InterfaceFactory<Gpu> {
public:
@@ -48,6 +50,10 @@ class NativeViewportApplicationLoader : public ApplicationLoader,
void Create(ApplicationConnection* connection,
InterfaceRequest<Gpu> request) override;
+ // InterfaceFactory<Keyboard> implementation.
+ void Create(ApplicationConnection* connection,
+ InterfaceRequest<Keyboard> request) override;
+
scoped_refptr<gles2::GpuImpl::State> gpu_state_;
scoped_ptr<ApplicationImpl> app_;
« no previous file with comments | « shell/android/mojo_main.cc ('k') | shell/android/native_viewport_application_loader.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698