OLD | NEW |
---|---|
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. |
mcasas
2016/10/03 22:18:09
This file should be deleted, right?
xianglu
2016/10/04 00:58:26
Done.
| |
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 : public GarbageCollected<DetectedObject>, | |
15 public ScriptWrappable { | |
16 DEFINE_WRAPPERTYPEINFO(); | |
17 | |
18 public: | |
19 DOMRect* boundingBox() const { return m_boundingBox.get(); } | |
20 DEFINE_INLINE_TRACE() { visitor->trace(m_boundingBox); } | |
21 | |
22 private: | |
23 Member<DOMRect> m_boundingBox; | |
24 }; | |
25 | |
26 } // namespace blink | |
27 | |
28 #endif // DetectedObject_h | |
OLD | NEW |