| 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 #ifndef GamepadEvent_h | 5 #ifndef GamepadEvent_h |
| 6 #define GamepadEvent_h | 6 #define GamepadEvent_h |
| 7 | 7 |
| 8 #include "core/events/Event.h" | 8 #include "core/events/Event.h" |
| 9 #include "modules/gamepad/Gamepad.h" | 9 #include "modules/gamepad/Gamepad.h" |
| 10 | 10 |
| (...skipping 25 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 virtual const AtomicString& interfaceName() const OVERRIDE; | 37 virtual const AtomicString& interfaceName() const OVERRIDE; |
| 38 | 38 |
| 39 virtual void trace(Visitor*) OVERRIDE; | 39 virtual void trace(Visitor*) OVERRIDE; |
| 40 | 40 |
| 41 private: | 41 private: |
| 42 GamepadEvent(); | 42 GamepadEvent(); |
| 43 GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Pass
RefPtrWillBeRawPtr<Gamepad>); | 43 GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Pass
RefPtrWillBeRawPtr<Gamepad>); |
| 44 GamepadEvent(const AtomicString&, const GamepadEventInit&); | 44 GamepadEvent(const AtomicString&, const GamepadEventInit&); |
| 45 | 45 |
| 46 RefPtrWillBePersistent<Gamepad> m_gamepad; | 46 RefPtrWillBeMember<Gamepad> m_gamepad; |
| 47 }; | 47 }; |
| 48 | 48 |
| 49 } // namespace WebCore | 49 } // namespace WebCore |
| 50 | 50 |
| 51 #endif // GamepadEvent_h | 51 #endif // GamepadEvent_h |
| OLD | NEW |