Chromium Code Reviews| Index: third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.idl |
| diff --git a/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.idl b/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.idl |
| index 7875f6acb706d20912856703bce995da08d1bbc1..9ef3342792b74fe728434af64c328b0fec209495 100644 |
| --- a/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.idl |
| +++ b/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.idl |
| @@ -10,5 +10,9 @@ |
| ] interface DetectedBarcode { |
| // TODO(mcasas): Implement missing fields. https://crbug.com/646083 |
| [SameObject] readonly attribute DOMString rawValue; |
| + // |x|, |y| refer to the coordinates of the bottom-left corner. |
|
mcasas
2016/12/15 19:01:58
Who are |x| and |y| inside |boundingBox| ?
xianglu
2016/12/16 00:01:25
I meant to say that boundingBox and cornerPoints s
|
| [SameObject] readonly attribute DOMRect boundingBox; |
| + // 4 corner points in clockwise direction starting with bottom-left. Due to |
| + // possible perspective distortions, this is not necessarily a rectangle. |
| + [SameObject] readonly attribute sequence<Point2D> cornerPoints; |
| }; |