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

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

Issue 2502763005: ShapeDetection: Add FaceDetectorOptions for fastMode and maxDetectedFaces (Closed)
Patch Set: 80 cols Created 4 years, 1 month 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 c04c1495af7c31a01515b5376191ffc064e25425..c31e41cfaba5f10121566b8ca9354e582a038d3c 100644
--- a/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
+++ b/third_party/WebKit/Source/modules/shapedetection/FaceDetector.idl
@@ -4,9 +4,8 @@
// https://wicg.github.io/shape-detection-api/#face-detection-api
-// TODO(xianglu): Add [Constructor(optional FaceDetectorOptions faceDetectorOptions)]. https://crbug.com/646083
[
- Constructor,
+ Constructor(optional FaceDetectorOptions faceDetectorOptions),
ConstructorCallWith=ScriptState,
RuntimeEnabled=ShapeDetection,
] interface FaceDetector {

Powered by Google App Engine
This is Rietveld 408576698