| 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
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..1518e3bc4a46ef36eed7cbf8c4ca04231cd7b6e8
|
| --- /dev/null
|
| +++ b/third_party/WebKit/Source/modules/shapedetection/DetectedBarcode.h
|
| @@ -0,0 +1,38 @@
|
| +// 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.
|
| +
|
| +#ifndef DetectedBarcode_h
|
| +#define DetectedBarcode_h
|
| +
|
| +#include "bindings/core/v8/ScriptWrappable.h"
|
| +#include "modules/ModulesExport.h"
|
| +#include "wtf/text/WTFString.h"
|
| +
|
| +namespace blink {
|
| +
|
| +class DOMRect;
|
| +
|
| +class MODULES_EXPORT DetectedBarcode final
|
| + : public GarbageCollectedFinalized<DetectedBarcode>,
|
| + public ScriptWrappable {
|
| + DEFINE_WRAPPERTYPEINFO();
|
| +
|
| + public:
|
| + static DetectedBarcode* create();
|
| + static DetectedBarcode* create(String, DOMRect*);
|
| +
|
| + const String& rawValue() const;
|
| + DOMRect* boundingBox() const;
|
| + DECLARE_TRACE();
|
| +
|
| + private:
|
| + DetectedBarcode(String rawValue, DOMRect* boundingBox);
|
| +
|
| + const String m_rawValue;
|
| + const Member<DOMRect> m_boundingBox;
|
| +};
|
| +
|
| +} // namespace blink
|
| +
|
| +#endif // DetectedBarcode_h
|
|
|