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

Unified Diff: content/browser/frame_host/render_frame_host_impl.cc

Issue 2399593005: ShapeDetectionImpl: Android implementation of detectFace() (Closed)
Patch Set: mcasas@ comments Created 4 years, 2 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/browser/frame_host/render_frame_host_impl.cc
diff --git a/content/browser/frame_host/render_frame_host_impl.cc b/content/browser/frame_host/render_frame_host_impl.cc
index 1cbc21c45a3e545729ba08a44968c432bd7e456b..06bf06b071b1329949f916305570dba2ca535e1f 100644
--- a/content/browser/frame_host/render_frame_host_impl.cc
+++ b/content/browser/frame_host/render_frame_host_impl.cc
@@ -93,6 +93,7 @@
#include "media/mojo/interfaces/media_service.mojom.h"
#include "media/mojo/interfaces/service_factory.mojom.h"
#include "mojo/public/cpp/bindings/associated_interface_ptr.h"
+#include "public/platform/modules/shapedetection/shapedetection.mojom.h"
#include "services/shell/public/cpp/connector.h"
#include "services/shell/public/cpp/interface_provider.h"
#include "ui/accessibility/ax_tree.h"
@@ -2162,6 +2163,10 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() {
#if defined(OS_ANDROID)
GetInterfaceRegistry()->AddInterface(
+ GetGlobalJavaInterfaces()
qinmin 2016/10/12 17:28:16 nit: fix the indent here
xianglu 2016/10/12 18:25:17 Done.
+ ->CreateInterfaceFactory<blink::mojom::ShapeDetection>());
+
+ GetInterfaceRegistry()->AddInterface(
GetGlobalJavaInterfaces()
->CreateInterfaceFactory<device::VibrationManager>());
#else

Powered by Google App Engine
This is Rietveld 408576698