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

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

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/ShapeDetector.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
index b12d1af991f322ff15a9a5018df9c63e8109db8a..66ee0d2e17692c3a296a2bc3147c2301c25a9691 100644
--- a/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
+++ b/third_party/WebKit/Source/modules/shapedetection/ShapeDetector.h
@@ -9,6 +9,7 @@
#include "bindings/core/v8/ScriptPromiseResolver.h"
#include "modules/ModulesExport.h"
#include "modules/canvas2d/CanvasRenderingContext2D.h"
+#include "modules/shapedetection/FaceDetectorOptions.h"
#include "public/platform/modules/shapedetection/shapedetection.mojom-blink.h"
namespace blink {
@@ -57,6 +58,9 @@ class MODULES_EXPORT ShapeDetector
mojom::blink::ShapeDetectionPtr m_service;
HeapHashSet<Member<ScriptPromiseResolver>> m_serviceRequests;
+
+ protected:
+ mojom::blink::FaceDetectorOptionsPtr m_options;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698