| Index: shell/android/apk/src/org/chromium/mojo/shell/JavaApplicationRegistry.java
|
| diff --git a/shell/android/apk/src/org/chromium/mojo/shell/JavaApplicationRegistry.java b/shell/android/apk/src/org/chromium/mojo/shell/JavaApplicationRegistry.java
|
| index 49b5ff3e68c1e2398ce0648e929f6a9db5b61426..5a7ef8e0450075e2e68313b1b2454e3429db709e 100644
|
| --- a/shell/android/apk/src/org/chromium/mojo/shell/JavaApplicationRegistry.java
|
| +++ b/shell/android/apk/src/org/chromium/mojo/shell/JavaApplicationRegistry.java
|
| @@ -85,24 +85,26 @@ public class JavaApplicationRegistry {
|
| private static JavaApplicationRegistry create() {
|
| JavaApplicationRegistry registry = new JavaApplicationRegistry();
|
| // Register services.
|
| + registry.registerApplicationDelegate("mojo:android",
|
| + new ServiceProviderFactoryApplicationDelegate(new AndroidFactory()));
|
| registry.registerApplicationDelegate("mojo:authentication",
|
| new AuthenticationApplicationDelegate(ApplicationStatus.getApplicationContext(),
|
| CoreImpl.getInstance()));
|
| - registry.registerApplicationDelegate(
|
| - "mojo:input", new ServiceProviderFactoryApplicationDelegate(new InputFactory()));
|
| registry.registerApplicationDelegate("mojo:keyboard",
|
| new ServiceProviderFactoryApplicationDelegate(new KeyboardFactory()));
|
| registry.registerApplicationDelegate(
|
| + "mojo:input", new ServiceProviderFactoryApplicationDelegate(new InputFactory()));
|
| + registry.registerApplicationDelegate(
|
| "mojo:intent_receiver", new ServiceProviderFactoryApplicationDelegate(
|
| IntentReceiverRegistry.getInstance()));
|
| registry.registerApplicationDelegate("mojo:location_service",
|
| new LocationApplicationDelegate(ApplicationStatus.getApplicationContext(),
|
| CoreImpl.getInstance()));
|
|
|
| - registry.registerApplicationDelegate("mojo:nfc", new NfcApplicationDelegate());
|
| - registry.registerApplicationDelegate("mojo:sharing", new SharingApplicationDelegate());
|
| registry.registerApplicationDelegate(
|
| "mojo:native_viewport_support", new NativeViewportSupportApplicationDelegate());
|
| + registry.registerApplicationDelegate("mojo:nfc", new NfcApplicationDelegate());
|
| + registry.registerApplicationDelegate("mojo:sharing", new SharingApplicationDelegate());
|
| registry.registerApplicationDelegate(
|
| "mojo:vsync", new ServiceProviderFactoryApplicationDelegate(
|
| new VsyncFactory(registry.mHandlerThread.getLooper())));
|
|
|