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

Side by Side Diff: third_party/WebKit/Source/modules/gamepad/NavigatorGamepad.h

Issue 2606643002: Supplement should have a Member to the corresponding Supplementable object (Closed)
Patch Set: temp Created 3 years, 12 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 /* 1 /*
2 * Copyright (C) 2011, Google Inc. All rights reserved. 2 * Copyright (C) 2011, Google Inc. All rights reserved.
3 * 3 *
4 * Redistribution and use in source and binary forms, with or without 4 * Redistribution and use in source and binary forms, with or without
5 * modification, are permitted provided that the following conditions are met: 5 * modification, are permitted provided that the following conditions are met:
6 * 6 *
7 * 1. Redistributions of source code must retain the above copyright 7 * 1. Redistributions of source code must retain the above copyright
8 * notice, this list of conditions and the following disclaimer. 8 * notice, this list of conditions and the following disclaimer.
9 * 2. Redistributions in binary form must reproduce the above copyright 9 * 2. Redistributions in binary form must reproduce the above copyright
10 * notice, this list of conditions and the following disclaimer in the 10 * notice, this list of conditions and the following disclaimer in the
(...skipping 10 matching lines...) Expand all
21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY 21 * LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH 22 * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH
23 * DAMAGE. 23 * DAMAGE.
24 */ 24 */
25 25
26 #ifndef NavigatorGamepad_h 26 #ifndef NavigatorGamepad_h
27 #define NavigatorGamepad_h 27 #define NavigatorGamepad_h
28 28
29 #include "core/dom/ContextLifecycleObserver.h" 29 #include "core/dom/ContextLifecycleObserver.h"
30 #include "core/frame/LocalDOMWindow.h" 30 #include "core/frame/LocalDOMWindow.h"
31 #include "core/frame/Navigator.h"
31 #include "core/frame/PlatformEventController.h" 32 #include "core/frame/PlatformEventController.h"
32 #include "modules/ModulesExport.h" 33 #include "modules/ModulesExport.h"
33 #include "platform/AsyncMethodRunner.h" 34 #include "platform/AsyncMethodRunner.h"
34 #include "platform/Supplementable.h" 35 #include "platform/Supplementable.h"
35 #include "platform/heap/Handle.h" 36 #include "platform/heap/Handle.h"
36 #include "public/platform/WebGamepads.h" 37 #include "public/platform/WebGamepads.h"
37 38
38 namespace blink { 39 namespace blink {
39 40
40 class Document; 41 class Document;
(...skipping 48 matching lines...) Expand 10 before | Expand all | Expand 10 after
89 void didRemoveAllEventListeners(LocalDOMWindow*) override; 90 void didRemoveAllEventListeners(LocalDOMWindow*) override;
90 91
91 Member<GamepadList> m_gamepads; 92 Member<GamepadList> m_gamepads;
92 HeapDeque<Member<Gamepad>> m_pendingEvents; 93 HeapDeque<Member<Gamepad>> m_pendingEvents;
93 Member<AsyncMethodRunner<NavigatorGamepad>> m_dispatchOneEventRunner; 94 Member<AsyncMethodRunner<NavigatorGamepad>> m_dispatchOneEventRunner;
94 }; 95 };
95 96
96 } // namespace blink 97 } // namespace blink
97 98
98 #endif // NavigatorGamepad_h 99 #endif // NavigatorGamepad_h
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698