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

Unified Diff: shell/android/native_viewport_application_loader.cc

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/native_viewport_application_loader.h ('k') | sky/apk/demo/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/native_viewport_application_loader.cc
diff --git a/shell/android/native_viewport_application_loader.cc b/shell/android/native_viewport_application_loader.cc
index 295fce6cc1cc200c4769263929737108283a55c5..6e664b2a5c38797615d1c243085bd49a2d5e0c10 100644
--- a/shell/android/native_viewport_application_loader.cc
+++ b/shell/android/native_viewport_application_loader.cc
@@ -31,7 +31,7 @@ bool NativeViewportApplicationLoader::ConfigureIncomingConnection(
ApplicationConnection* connection) {
connection->AddService<mojo::NativeViewport>(this);
connection->AddService<mojo::Gpu>(this);
- connection->AddService<mojo::Keyboard>(this);
+ connection->AddService<keyboard::KeyboardService>(this);
return true;
}
@@ -45,8 +45,8 @@ void NativeViewportApplicationLoader::Create(
void NativeViewportApplicationLoader::Create(
ApplicationConnection* connection,
- InterfaceRequest<mojo::Keyboard> request) {
- new KeyboardImpl(request.Pass());
+ InterfaceRequest<keyboard::KeyboardService> request) {
+ KeyboardImpl::CreateKeyboardImpl(request.Pass());
}
void NativeViewportApplicationLoader::Create(
« no previous file with comments | « shell/android/native_viewport_application_loader.h ('k') | sky/apk/demo/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698