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

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

Issue 2369693002: Shapedetection module: Blink side implementation (Closed)
Patch Set: mcasas@ comments Created 4 years, 2 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.idl
diff --git a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
index 06a8551560332bff6c75fc193d28f48dc9d66788..afd3fd0c69955ab5277a8611b5fe8b9d6eaf1832 100644
--- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
+++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
@@ -7,7 +7,8 @@
// TODO(xianglu): Add [Constructor(optional FaceDetectorOptions faceDetectorOptions)]. https://crbug.com/646083
[
Constructor,
+ ConstructorCallWith=Document,
haraken 2016/10/04 00:03:54 Use ConstructorCallWith=ScriptState. We're unifyin
xianglu 2016/10/04 00:58:26 Done.
RuntimeEnabled=ShapeDetection,
] interface FaceDetector {
+ [CallWith=ScriptState] Promise<sequence<DetectedObject>> detect(HTMLImageElement htmlImageElement);
};
-FaceDetector implements Detector;

Powered by Google App Engine
This is Rietveld 408576698