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

Unified Diff: third_party/WebKit/Source/modules/shapedetection/DetectedFace.h

Issue 2369693002: Shapedetection module: Blink side implementation (Closed)
Patch Set: tests outside the [0, 1] range Created 4 years, 2 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/Source/modules/shapedetection/DetectedFace.h
diff --git a/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h b/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h
index 62238ca531ad6090f2c126d04989c5ab2187075c..2a646b49cb6bb3745b0480d9098b03693a04cbc4 100644
--- a/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h
+++ b/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h
@@ -7,15 +7,22 @@
#include "bindings/core/v8/ScriptWrappable.h"
#include "modules/ModulesExport.h"
-#include "modules/shapedetection/DetectedObject.h"
namespace blink {
-class MODULES_EXPORT DetectedFace final : public DetectedObject {
+class DOMRect;
+
+class MODULES_EXPORT DetectedFace final : public GarbageCollected<DetectedFace>,
+ public ScriptWrappable {
DEFINE_WRAPPERTYPEINFO();
public:
static DetectedFace* create();
+ DOMRect* boundingBox() const;
+ DECLARE_TRACE();
+
+ private:
+ Member<DOMRect> m_boundingBox;
};
} // namespace blink

Powered by Google App Engine
This is Rietveld 408576698