| Index: chrome/browser/chrome_content_browser_client.cc
|
| diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc
|
| index 365f80caf02360491c4c9320b205db06e2900af9..6a4797da31ca5ac0290acc2c0bce110390f3b335 100644
|
| --- a/chrome/browser/chrome_content_browser_client.cc
|
| +++ b/chrome/browser/chrome_content_browser_client.cc
|
| @@ -204,6 +204,7 @@
|
| #include "services/service_manager/public/cpp/service.h"
|
| #include "storage/browser/fileapi/external_mount_points.h"
|
| #include "third_party/WebKit/public/platform/modules/shapedetection/barcodedetection.mojom.h"
|
| +#include "third_party/WebKit/public/platform/modules/shapedetection/textdetection.mojom.h"
|
| #include "third_party/WebKit/public/platform/modules/webshare/webshare.mojom.h"
|
| #include "ui/base/l10n/l10n_util.h"
|
| #include "ui/base/resource/resource_bundle.h"
|
| @@ -3044,6 +3045,9 @@ void ChromeContentBrowserClient::RegisterRenderFrameMojoInterfaces(
|
| registry->AddInterface(
|
| web_contents->GetJavaInterfaces()
|
| ->CreateInterfaceFactory<blink::mojom::BarcodeDetection>());
|
| + registry->AddInterface(
|
| + web_contents->GetJavaInterfaces()
|
| + ->CreateInterfaceFactory<blink::mojom::TextDetection>());
|
| }
|
| }
|
| #endif
|
|
|