| 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 bfa5bbfa4eb64790698adf92360414c2c46ff280..7e3148e9fafe770b48b98c81a1df829ef476ec15 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,8 @@ import android.content.Context;
|
|
|
| import org.chromium.base.annotations.CalledByNative;
|
| import org.chromium.base.annotations.JNINamespace;
|
| +import org.chromium.blink.mojom.ShapeDetection;
|
| +import org.chromium.content.browser.shapedetection.ShapeDetectionImpl;
|
| import org.chromium.content_public.browser.InterfaceRegistrar;
|
| import org.chromium.content_public.browser.WebContents;
|
| import org.chromium.device.BatteryMonitor;
|
| @@ -56,6 +58,8 @@ class ContentContextInterfaceRegistrar implements InterfaceRegistrar<Context> {
|
| VibrationManager.MANAGER, new VibrationManagerImpl.Factory(applicationContext));
|
| registry.addInterface(
|
| BatteryMonitor.MANAGER, new BatteryMonitorFactory(applicationContext));
|
| + registry.addInterface(
|
| + ShapeDetection.MANAGER, new ShapeDetectionImpl.Factory(applicationContext));
|
| // TODO(avayvod): Register the PresentationService implementation here.
|
| }
|
| }
|
|
|