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

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

Issue 2369693002: Shapedetection module: Blink side implementation (Closed)
Patch Set: Refactor code into getSharedBufferHandle() && Update *-expected.txt Created 4 years, 3 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/public/platform/modules/shapedetection/shapedetection.mojom
diff --git a/third_party/WebKit/public/platform/modules/shapedetection/shapedetection.mojom b/third_party/WebKit/public/platform/modules/shapedetection/shapedetection.mojom
new file mode 100644
index 0000000000000000000000000000000000000000..7d837b6369f1309876b1e039015dee3c4459f75a
--- /dev/null
+++ b/third_party/WebKit/public/platform/modules/shapedetection/shapedetection.mojom
@@ -0,0 +1,17 @@
+// Copyright 2015 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.
+
+module blink.mojom;
+
+// BoundingBox is defined with its upper-left point, width and height.
+struct BoundingBox {
+ double x;
+ double y;
+ double width;
+ double height;
+};
+
+interface ShapeDetection {
mcasas 2016/09/30 02:14:59 Add a comment with the link to the Spec URL. Same
xianglu 2016/09/30 16:37:41 Done.
+ DetectFace(handle<shared_buffer> frame_data, uint32 width, uint32 height) => (array<BoundingBox> boundingBoxes);
+};

Powered by Google App Engine
This is Rietveld 408576698