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

Side by Side 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 unified diff | Download patch
OLDNEW
1 // Copyright 2016 The Chromium Authors. All rights reserved. 1 // Copyright 2016 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef DetectedFace_h 5 #ifndef DetectedFace_h
6 #define DetectedFace_h 6 #define DetectedFace_h
7 7
8 #include "bindings/core/v8/ScriptWrappable.h" 8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "modules/ModulesExport.h" 9 #include "modules/ModulesExport.h"
10 #include "modules/shapedetection/DetectedObject.h"
11 10
12 namespace blink { 11 namespace blink {
13 12
14 class MODULES_EXPORT DetectedFace final : public DetectedObject { 13 class DOMRect;
14
15 class MODULES_EXPORT DetectedFace final : public GarbageCollected<DetectedFace>,
16 public ScriptWrappable {
15 DEFINE_WRAPPERTYPEINFO(); 17 DEFINE_WRAPPERTYPEINFO();
16 18
17 public: 19 public:
18 static DetectedFace* create(); 20 static DetectedFace* create();
21 DOMRect* boundingBox() const;
22 DECLARE_TRACE();
23
24 private:
25 Member<DOMRect> m_boundingBox;
19 }; 26 };
20 27
21 } // namespace blink 28 } // namespace blink
22 29
23 #endif // DetectedFace_h 30 #endif // DetectedFace_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698