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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/TextDetector.h

Issue 2620083002: Shape Detection: Move mojom interface to //services (Closed)
Patch Set: Created 3 years, 11 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: third_party/WebKit/Source/modules/shapedetection/TextDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/TextDetector.h b/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
index ac71997353c1e96e0e0faa2aae2999be335b5181..bc6262779e65defcd2fb3264ab80546bb1da9e88 100644
--- a/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/TextDetector.h
@@ -11,7 +11,7 @@
#include "modules/ModulesExport.h"
#include "modules/canvas2d/CanvasRenderingContext2D.h"
#include "modules/shapedetection/ShapeDetector.h"
-#include "public/platform/modules/shapedetection/textdetection.mojom-blink.h"
+#include "services/shape_detection/public/interfaces/textdetection.mojom-blink.h"
namespace blink {
@@ -34,11 +34,12 @@ class MODULES_EXPORT TextDetector final : public ShapeDetector,
mojo::ScopedSharedBufferHandle,
int imageWidth,
int imageHeight) override;
- void onDetectText(ScriptPromiseResolver*,
- Vector<mojom::blink::TextDetectionResultPtr>);
+ void onDetectText(
+ ScriptPromiseResolver*,
+ Vector<shape_detection::mojom::blink::TextDetectionResultPtr>);
void onTextServiceConnectionError();
- mojom::blink::TextDetectionPtr m_textService;
+ shape_detection::mojom::blink::TextDetectionPtr m_textService;
HeapHashSet<Member<ScriptPromiseResolver>> m_textServiceRequests;
};

Powered by Google App Engine
This is Rietveld 408576698