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

Unified Diff: third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js

Issue 2575943002: Barcode Detection: Add |cornerPoints| to DetectedBarcode.idl (Closed)
Patch Set: mcasas@ comments 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/LayoutTests/shapedetection/resources/mock-barcodedetection.js
diff --git a/third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js b/third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js
index bcf191dda27c2e2c8915e6d2e32bf941bfe0c346..f0643cae98e2375d77a186cc23d5fb1e04a4f987 100644
--- a/third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js
+++ b/third_party/WebKit/LayoutTests/shapedetection/resources/mock-barcodedetection.js
@@ -30,10 +30,22 @@ let mockBarcodeDetectionReady = define(
{
raw_value : "cats",
bounding_box: { x : 1.0, y: 1.0, width: 100.0, height: 100.0 },
Reilly Grant (use Gerrit) 2016/12/15 23:44:30 s/x :/x:/g
xianglu 2016/12/16 00:01:25 Done.
+ corner_points: [
+ { x : 1.0, y: 1.0},
+ { x : 1.0, y: 101.0},
+ { x : 101.0, y: 1.0},
Reilly Grant (use Gerrit) 2016/12/15 23:44:30 { x: 101.0, y: 101.0 } ?
xianglu 2016/12/16 00:01:25 Done.
+ { x : 101.0, y: 1.0}
+ ],
},
{
raw_value : "dogs",
bounding_box: { x : 2.0, y: 2.0, width: 50.0, height: 50.0 },
+ corner_points: [
+ { x : 2.0, y: 2.0},
+ { x : 2.0, y: 52.0},
+ { x : 52.0, y: 52.0},
+ { x : 52.0, y: 2.0}
+ ],
},
],
});

Powered by Google App Engine
This is Rietveld 408576698