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

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

Issue 2755393002: Revert of RELAND: ShapeDetection: use mojom::Bitmap for mojo interface. (Closed)
Patch Set: Created 3 years, 9 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/facedetection.mojom
diff --git a/services/shape_detection/public/interfaces/facedetection.mojom b/services/shape_detection/public/interfaces/facedetection.mojom
index 0ee139065b128d03942b5f9cf55498f8a5caf699..38102f80b0978b7a4aaadbc25249984207d80299 100644
--- a/services/shape_detection/public/interfaces/facedetection.mojom
+++ b/services/shape_detection/public/interfaces/facedetection.mojom
@@ -6,7 +6,6 @@
module shape_detection.mojom;
-import "skia/public/interfaces/bitmap.mojom";
import "ui/gfx/geometry/mojo/geometry.mojom";
// Since "//ui/gfx/geometry/mojo" is not exposed to blink, we need to declare
@@ -22,7 +21,9 @@
};
interface FaceDetection {
- // |bitmap_data| contains tightly packed image pixels in row-major order.
- Detect(skia.mojom.Bitmap bitmap_data)
+ // |frame_data| contains tightly packed image pixels in ARGB32 format,
+ // row-major order.
+ // TODO(mcasas): Consider using mojo::Bitmap here, https://crbug.com/665488.
+ Detect(handle<shared_buffer> frame_data, uint32 width, uint32 height)
=> (FaceDetectionResult result);
};

Powered by Google App Engine
This is Rietveld 408576698