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

Unified Diff: content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java

Issue 2688193002: Mojo framework for AndroidOverlay. (Closed)
Patch Set: fixed mojo manifest bug introduced by rebase Created 3 years, 9 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
Index: content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
diff --git a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
index 081410e71e57a746271634e73e93ae792f45b56b..c1f76a14394e1b795a72069b6b7b822fcfcfd6e7 100644
--- a/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
+++ b/content/public/android/java/src/org/chromium/content/browser/InterfaceRegistrarImpl.java
@@ -8,6 +8,7 @@ import android.content.Context;
import org.chromium.base.annotations.CalledByNative;
import org.chromium.base.annotations.JNINamespace;
+import org.chromium.content.browser.androidoverlay.AndroidOverlayProviderImpl;
import org.chromium.content.browser.shapedetection.FaceDetectionProviderImpl;
import org.chromium.content_public.browser.InterfaceRegistrar;
import org.chromium.content_public.browser.RenderFrameHost;
@@ -17,6 +18,7 @@ import org.chromium.device.battery.BatteryMonitorFactory;
import org.chromium.device.mojom.VibrationManager;
import org.chromium.device.nfc.mojom.Nfc;
import org.chromium.device.vibration.VibrationManagerImpl;
+import org.chromium.media.mojom.AndroidOverlayProvider;
import org.chromium.mojo.system.impl.CoreImpl;
import org.chromium.services.service_manager.InterfaceRegistry;
import org.chromium.shape_detection.mojom.FaceDetectionProvider;
@@ -72,6 +74,8 @@ class InterfaceRegistrarImpl {
BatteryMonitor.MANAGER, new BatteryMonitorFactory(applicationContext));
registry.addInterface(FaceDetectionProvider.MANAGER,
new FaceDetectionProviderImpl.Factory(applicationContext));
+ registry.addInterface(AndroidOverlayProvider.MANAGER,
+ new AndroidOverlayProviderImpl.Factory(applicationContext));
// TODO(avayvod): Register the PresentationService implementation here.
}
}

Powered by Google App Engine
This is Rietveld 408576698