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

Unified Diff: services/shape_detection/public/interfaces/textdetection.mojom

Issue 2875243002: RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: RELAND2: ShapeDetection: use mojom::Bitmap for mojo interface. Created 3 years, 7 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: services/shape_detection/public/interfaces/textdetection.mojom
diff --git a/services/shape_detection/public/interfaces/textdetection.mojom b/services/shape_detection/public/interfaces/textdetection.mojom
index 6e8bb01d34a4e9e6508b875daffcf0c6e8ca671b..7a0fed5b69d987c66fb64f1b6012bd450aaa5977 100644
--- a/services/shape_detection/public/interfaces/textdetection.mojom
+++ b/services/shape_detection/public/interfaces/textdetection.mojom
@@ -4,6 +4,7 @@
module shape_detection.mojom;
+import "skia/public/interfaces/bitmap.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
struct TextDetectionResult {
@@ -12,8 +13,7 @@ struct TextDetectionResult {
};
interface TextDetection {
- // |frame_data| contains tightly packed image pixels in ARGB32 format,
- // row-major order.
- Detect(handle<shared_buffer> frame_data, uint32 width, uint32 height)
+ // |bitmap_data| contains tightly packed image pixels in row-major order.
+ Detect(skia.mojom.Bitmap bitmap_data)
=> (array<TextDetectionResult> results);
};
« no previous file with comments | « services/shape_detection/public/interfaces/facedetection.mojom ('k') | services/shape_detection/text_detection_impl_mac.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698