Chromium Code Reviews| 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 e5826c6489a6ce4ed56d28f210f938afb15d8e0b..f22c32831fa8cd6ae61e390a3683d8dace09fcdd 100644 |
| --- a/content/browser/frame_host/render_frame_host_impl.cc |
| +++ b/content/browser/frame_host/render_frame_host_impl.cc |
| @@ -96,6 +96,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" |
| @@ -2186,6 +2187,10 @@ void RenderFrameHostImpl::RegisterMojoInterfaces() { |
| #if defined(OS_ANDROID) |
| GetInterfaceRegistry()->AddInterface( |
| GetGlobalJavaInterfaces() |
| + ->CreateInterfaceFactory<blink::mojom::ShapeDetection>()); |
|
ncarter (slow)
2016/10/12 20:08:35
Is it possible to only do AddInterface if the flag
xianglu
2016/10/13 00:02:32
There is a flag in Blink
https://cs.chromium.org/c
|
| + |
| + GetInterfaceRegistry()->AddInterface( |
| + GetGlobalJavaInterfaces() |
| ->CreateInterfaceFactory<device::VibrationManager>()); |
| #else |
| GetInterfaceRegistry()->AddInterface( |