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

Unified Diff: shell/android/library_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/keyboard_impl.cc ('k') | shell/android/native_viewport_application_loader.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: shell/android/library_loader.cc
diff --git a/shell/android/library_loader.cc b/shell/android/library_loader.cc
index f642f9c3c47cbf2e7ce8c72cf4b32ca304e4b1a9..986d53faea3ea9152dc8ac5500afd8d448a84f09 100644
--- a/shell/android/library_loader.cc
+++ b/shell/android/library_loader.cc
@@ -7,6 +7,7 @@
#include "base/android/jni_android.h"
#include "base/android/jni_registrar.h"
#include "base/bind.h"
+#include "mojo/android/system/core_impl.h"
#include "services/native_viewport/platform_viewport_android.h"
#include "shell/android/android_handler.h"
#include "shell/android/intent_receiver_manager_impl.h"
@@ -28,6 +29,9 @@ bool RegisterJNI(JNIEnv* env) {
if (!base::android::RegisterJni(env))
return false;
+ if (!mojo::android::RegisterCoreImpl(env))
+ return false;
+
return RegisterNativeMethods(env, kMojoRegisteredMethods,
arraysize(kMojoRegisteredMethods));
}
« no previous file with comments | « shell/android/keyboard_impl.cc ('k') | shell/android/native_viewport_application_loader.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698