| 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 #include "core/events/ThreadLocalEventNames.h" | |
| 9 | |
| 10 namespace WebCore { | 8 namespace WebCore { |
| 11 | 9 |
| 12 GamepadEventInit::GamepadEventInit() | 10 GamepadEventInit::GamepadEventInit() |
| 13 { | 11 { |
| 14 } | 12 } |
| 15 | 13 |
| 16 GamepadEvent::GamepadEvent() | 14 GamepadEvent::GamepadEvent() |
| 17 { | 15 { |
| 18 ScriptWrappable::init(this); | 16 ScriptWrappable::init(this); |
| 19 } | 17 } |
| (...skipping 20 matching lines...) Expand all Loading... |
| 40 { | 38 { |
| 41 return EventNames::GamepadEvent; | 39 return EventNames::GamepadEvent; |
| 42 } | 40 } |
| 43 | 41 |
| 44 void GamepadEvent::trace(Visitor* visitor) | 42 void GamepadEvent::trace(Visitor* visitor) |
| 45 { | 43 { |
| 46 Event::trace(visitor); | 44 Event::trace(visitor); |
| 47 } | 45 } |
| 48 | 46 |
| 49 } // namespace WebCore | 47 } // namespace WebCore |
| OLD | NEW |