OLD | NEW |
(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 #include "HitTestCanvasResult.h" |
| 6 |
| 7 namespace blink { |
| 8 |
| 9 HitTestCanvasResult::HitTestCanvasResult(String id, Member<Element> control) |
| 10 : m_id(id), m_control(control) |
| 11 { |
| 12 |
| 13 } |
| 14 |
| 15 String HitTestCanvasResult::getId() const |
| 16 { |
| 17 return m_id; |
| 18 } |
| 19 |
| 20 Element* HitTestCanvasResult::getControl() const |
| 21 { |
| 22 return m_control.get(); |
| 23 }; |
| 24 |
| 25 DEFINE_TRACE(HitTestCanvasResult) |
| 26 { |
| 27 visitor->trace(m_control); |
| 28 } |
| 29 |
| 30 } // namespace blink |
OLD | NEW |