| Index: third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.h
|
| diff --git a/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.h b/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.h
|
| index 563c8568d9f207478e942f0af84fcb6aa09a3795..ab590fcdd09bf70f4585b40fd7069394e99a68f5 100644
|
| --- a/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.h
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.h
|
| @@ -7,6 +7,7 @@
|
|
|
| #include "bindings/core/v8/ScriptWrappable.h"
|
| #include "modules/ModulesExport.h"
|
| +#include "modules/imagecapture/Point2D.h"
|
| #include "wtf/text/WTFString.h"
|
|
|
| namespace blink {
|
| @@ -20,17 +21,19 @@ class MODULES_EXPORT DetectedBarcode final
|
|
|
| public:
|
| static DetectedBarcode* create();
|
| - static DetectedBarcode* create(String, DOMRect*);
|
| + static DetectedBarcode* create(String, DOMRect*, HeapVector<Point2D>);
|
|
|
| const String& rawValue() const;
|
| DOMRect* boundingBox() const;
|
| + const HeapVector<Point2D>& cornerPoints() const;
|
| DECLARE_TRACE();
|
|
|
| private:
|
| - DetectedBarcode(String, DOMRect*);
|
| + DetectedBarcode(String, DOMRect*, HeapVector<Point2D>);
|
|
|
| const String m_rawValue;
|
| const Member<DOMRect> m_boundingBox;
|
| + const HeapVector<Point2D> m_cornerPoints;
|
| };
|
|
|
| } // namespace blink
|
|
|