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

Unified Diff: content/browser/renderer_host/render_process_host_impl.cc

Issue 2734703002: RELAND: ShapeDetection: add support for Text Detection in Mac (Closed)
Patch Set: Forward-declare CIRectangleFeature to avoid partial availability warnings Created 3 years, 10 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
« no previous file with comments | « base/mac/sdk_forward_declarations.mm ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/render_process_host_impl.cc
diff --git a/content/browser/renderer_host/render_process_host_impl.cc b/content/browser/renderer_host/render_process_host_impl.cc
index 7346efe052fd23077a002aca1b60d6e15047cb48..b8817c431d67c72ed77b7f21d5cdf3f0b059971e 100644
--- a/content/browser/renderer_host/render_process_host_impl.cc
+++ b/content/browser/renderer_host/render_process_host_impl.cc
@@ -1229,6 +1229,10 @@ void RenderProcessHostImpl::RegisterMojoInterfaces() {
registry.get(),
base::Bind(&ForwardShapeDetectionRequest<
shape_detection::mojom::FaceDetectionProviderRequest>));
+ AddUIThreadInterface(
+ registry.get(),
+ base::Bind(&ForwardShapeDetectionRequest<
+ shape_detection::mojom::TextDetectionRequest>));
#endif
AddUIThreadInterface(
registry.get(),
« no previous file with comments | « base/mac/sdk_forward_declarations.mm ('k') | content/public/app/mojo/content_browser_manifest.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698