| 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" | |
| 6 #include "modules/gamepad/GamepadEvent.h" | 5 #include "modules/gamepad/GamepadEvent.h" |
| 7 | 6 |
| 8 namespace blink { | 7 namespace blink { |
| 9 | 8 |
| 10 GamepadEvent::GamepadEvent() | 9 GamepadEvent::GamepadEvent() |
| 11 { | 10 { |
| 12 } | 11 } |
| 13 | 12 |
| 14 GamepadEvent::GamepadEvent(const AtomicString& type, bool canBubble, bool cancel
able, Gamepad* gamepad) | 13 GamepadEvent::GamepadEvent(const AtomicString& type, bool canBubble, bool cancel
able, Gamepad* gamepad) |
| 15 : Event(type, canBubble, cancelable) | 14 : Event(type, canBubble, cancelable) |
| (...skipping 17 matching lines...) Expand all Loading... |
| 33 return EventNames::GamepadEvent; | 32 return EventNames::GamepadEvent; |
| 34 } | 33 } |
| 35 | 34 |
| 36 DEFINE_TRACE(GamepadEvent) | 35 DEFINE_TRACE(GamepadEvent) |
| 37 { | 36 { |
| 38 visitor->trace(m_gamepad); | 37 visitor->trace(m_gamepad); |
| 39 Event::trace(visitor); | 38 Event::trace(visitor); |
| 40 } | 39 } |
| 41 | 40 |
| 42 } // namespace blink | 41 } // namespace blink |
| OLD | NEW |