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

Side by Side Diff: third_party/WebKit/Source/modules/shapedetection/DetectedObject.h

Issue 2369693002: Shapedetection module: Blink side implementation (Closed)
Patch Set: Naming and const correctness suggestions by mcasas@ 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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef DetectedObject_h
6 #define DetectedObject_h
7
8 #include "bindings/core/v8/ScriptWrappable.h"
9 #include "core/dom/DOMRect.h"
10 #include "modules/ModulesExport.h"
11
12 namespace blink {
13
14 class MODULES_EXPORT DetectedObject
15 : public GarbageCollected<DetectedObject>
16 , public ScriptWrappable {
17 DEFINE_WRAPPERTYPEINFO();
18
19 public:
20 DOMRect* boundingBox() const { return m_boundingBox.get(); }
21 DEFINE_INLINE_TRACE() { visitor->trace(m_boundingBox); }
22
23 private:
24 Member<DOMRect> m_boundingBox;
25 };
26
27 } // namespace blink
28
29 #endif // DetectedObject_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698