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

Unified Diff: third_party/WebKit/public/platform/modules/shapedetection/shapedetection_provider.mojom

Issue 2564163003: ShapeDetection: Add ShapeDetectionProvider (Closed)
Patch Set: Created 4 years 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/public/platform/modules/shapedetection/shapedetection_provider.mojom
diff --git a/third_party/WebKit/public/platform/modules/shapedetection/shapedetection_provider.mojom b/third_party/WebKit/public/platform/modules/shapedetection/shapedetection_provider.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..12aa94d8a9e2203f655f430ac9cb2761b0ccb3cc
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/shapedetection/shapedetection_provider.mojom
@@ -0,0 +1,15 @@
+// Copyright 2016 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+// https://wicg.github.io/shape-detection-api/#api
+
+module blink.mojom;
+
+import "facedetection.mojom";
+
+// This interface creates Face Detection service with |options|. It could be
+// used for Barcode Detection if needed.
+interface ShapeDetectionProvider {
+ CreateFaceDetection(FaceDetection& request, FaceDetectorOptions options);
+};

Powered by Google App Engine
This is Rietveld 408576698