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

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

Issue 2859413002: Shape Detection: add idl and mojom for face landmarks and wire for Mac (Closed)
Patch Set: service-worker's global-interface-listing-expected.txt updated 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: third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
index 83df1caa635db627c92be02306fbafd39801d89d..a436e7b9fad595807fb5450ab7d500fd4048dae5 100644
--- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.h
@@ -34,8 +34,9 @@ class MODULES_EXPORT FaceDetector final : public ShapeDetector,
mojo::ScopedSharedBufferHandle,
int image_width,
int image_height) override;
- void OnDetectFaces(ScriptPromiseResolver*,
- shape_detection::mojom::blink::FaceDetectionResultPtr);
+ void OnDetectFaces(
+ ScriptPromiseResolver*,
+ Vector<shape_detection::mojom::blink::FaceDetectionResultPtr>);
void OnFaceServiceConnectionError();
shape_detection::mojom::blink::FaceDetectionPtr face_service_;

Powered by Google App Engine
This is Rietveld 408576698