Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(21)

Side by Side Diff: Source/modules/gamepad/GamepadEvent.h

Issue 297103002: Move modules-dependent Event code out of core. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Address review comments. Created 6 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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 "modules/EventModules.h"
9 #include "modules/gamepad/Gamepad.h" 9 #include "modules/gamepad/Gamepad.h"
10 10
11 namespace WebCore { 11 namespace WebCore {
12 12
13 struct GamepadEventInit : public EventInit { 13 struct GamepadEventInit : public EventInit {
14 GamepadEventInit(); 14 GamepadEventInit();
15 15
16 Member<Gamepad> gamepad; 16 Member<Gamepad> gamepad;
17 }; 17 };
18 18
(...skipping 23 matching lines...) Expand all
42 GamepadEvent(); 42 GamepadEvent();
43 GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Game pad*); 43 GamepadEvent(const AtomicString& type, bool canBubble, bool cancelable, Game pad*);
44 GamepadEvent(const AtomicString&, const GamepadEventInit&); 44 GamepadEvent(const AtomicString&, const GamepadEventInit&);
45 45
46 PersistentWillBeMember<Gamepad> m_gamepad; 46 PersistentWillBeMember<Gamepad> m_gamepad;
47 }; 47 };
48 48
49 } // namespace WebCore 49 } // namespace WebCore
50 50
51 #endif // GamepadEvent_h 51 #endif // GamepadEvent_h
OLDNEW
« no previous file with comments | « Source/modules/filesystem/InspectorFileSystemAgent.cpp ('k') | Source/modules/geolocation/Coordinates.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698