| 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 blink { |
| 9 | 9 |
| 10 GamepadEventInit::GamepadEventInit() | 10 GamepadEventInit::GamepadEventInit() |
| 11 { | 11 { |
| 12 } | 12 } |
| 13 | 13 |
| 14 GamepadEvent::GamepadEvent() | 14 GamepadEvent::GamepadEvent() |
| 15 { | 15 { |
| 16 ScriptWrappable::init(this); | 16 ScriptWrappable::init(this); |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 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 visitor->trace(m_gamepad); |
| 45 Event::trace(visitor); | 45 Event::trace(visitor); |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace WebCore | 48 } // namespace blink |
| OLD | NEW |