Index: services/shape_detection/public/interfaces/barcodedetection.mojom |
diff --git a/services/shape_detection/public/interfaces/barcodedetection.mojom b/services/shape_detection/public/interfaces/barcodedetection.mojom |
index 27f95ecdaa72cb46d2d95717fe6556e9fb76db2b..4df45ef2bc36d51a5568acb57c0dfe20de92bc93 100644 |
--- a/services/shape_detection/public/interfaces/barcodedetection.mojom |
+++ b/services/shape_detection/public/interfaces/barcodedetection.mojom |
@@ -6,6 +6,7 @@ |
module shape_detection.mojom; |
+import "skia/public/interfaces/bitmap.mojom"; |
import "ui/gfx/geometry/mojo/geometry.mojom"; |
struct BarcodeDetectionResult { |
@@ -17,9 +18,8 @@ struct BarcodeDetectionResult { |
}; |
interface BarcodeDetection { |
- // |frame_data| contains tightly packed image pixels in ARGB32 format, |
+ // |bitmap_data| contains tightly packed image pixels in ARGB32 format, |
mcasas
2017/01/19 18:09:48
"in ARGB32 format" is incorrect, since mojom.Bitma
|
// row-major order. |
- // TODO(mcasas): Consider using mojo::Bitmap here, https://crbug.com/665488. |
- Detect(handle<shared_buffer> frame_data, uint32 width, uint32 height) |
+ Detect(skia.mojom.Bitmap bitmap_data) |
=> (array<BarcodeDetectionResult> results); |
}; |