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

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

Issue 2369693002: Shapedetection module: Blink side implementation (Closed)
Patch Set: Naming and const correctness suggestions by mcasas@ Created 4 years, 3 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 1e126f28505a05f5965b5f1643251ad4f1306f78..f97ebbbf8f063f4fe8b822b2b5cf41fac12356d7 100644
--- a/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h
+++ b/third_party/WebKit/Source/modules/shapedetection/DetectedFace.h
@@ -7,15 +7,23 @@
#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