| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 #include "config.h" | 5 #include "config.h" |
| 6 #include "modules/gamepad/GamepadEvent.h" | 6 #include "modules/gamepad/GamepadEvent.h" |
| 7 | 7 |
| 8 namespace WebCore { | 8 namespace WebCore { |
| 9 | 9 |
| 10 GamepadEventInit::GamepadEventInit() | 10 GamepadEventInit::GamepadEventInit() |
| (...skipping 23 matching lines...) Expand all Loading... |
| 34 { | 34 { |
| 35 } | 35 } |
| 36 | 36 |
| 37 const AtomicString& GamepadEvent::interfaceName() const | 37 const AtomicString& GamepadEvent::interfaceName() const |
| 38 { | 38 { |
| 39 return EventNames::GamepadEvent; | 39 return EventNames::GamepadEvent; |
| 40 } | 40 } |
| 41 | 41 |
| 42 void GamepadEvent::trace(Visitor* visitor) | 42 void GamepadEvent::trace(Visitor* visitor) |
| 43 { | 43 { |
| 44 visitor->trace(m_gamepad); |
| 44 Event::trace(visitor); | 45 Event::trace(visitor); |
| 45 } | 46 } |
| 46 | 47 |
| 47 } // namespace WebCore | 48 } // namespace WebCore |
| OLD | NEW |