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 DeviceLightController_h | 5 #ifndef DeviceLightController_h |
6 #define DeviceLightController_h | 6 #define DeviceLightController_h |
7 | 7 |
8 #include "core/dom/DocumentSupplementable.h" | 8 #include "core/dom/DocumentSupplementable.h" |
9 #include "core/events/Event.h" | |
10 #include "core/frame/DOMWindowLifecycleObserver.h" | 9 #include "core/frame/DOMWindowLifecycleObserver.h" |
11 #include "core/frame/DeviceSensorEventController.h" | 10 #include "core/frame/DeviceSensorEventController.h" |
| 11 #include "modules/EventModules.h" |
12 | 12 |
13 namespace WebCore { | 13 namespace WebCore { |
14 | 14 |
15 class DOMWindow; | 15 class DOMWindow; |
16 | 16 |
17 class DeviceLightController FINAL : public NoBaseWillBeGarbageCollectedFinalized
<DeviceLightController>, public DeviceSensorEventController, public DocumentSupp
lement, public DOMWindowLifecycleObserver { | 17 class DeviceLightController FINAL : public NoBaseWillBeGarbageCollectedFinalized
<DeviceLightController>, public DeviceSensorEventController, public DocumentSupp
lement, public DOMWindowLifecycleObserver { |
18 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceLightController); | 18 WILL_BE_USING_GARBAGE_COLLECTED_MIXIN(DeviceLightController); |
19 public: | 19 public: |
20 virtual ~DeviceLightController(); | 20 virtual ~DeviceLightController(); |
21 | 21 |
(...skipping 16 matching lines...) Expand all Loading... |
38 virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE; | 38 virtual PassRefPtrWillBeRawPtr<Event> getLastEvent() OVERRIDE; |
39 virtual bool isNullEvent(Event*) OVERRIDE; | 39 virtual bool isNullEvent(Event*) OVERRIDE; |
40 virtual Document* document() OVERRIDE; | 40 virtual Document* document() OVERRIDE; |
41 | 41 |
42 Document& m_document; | 42 Document& m_document; |
43 }; | 43 }; |
44 | 44 |
45 } // namespace WebCore | 45 } // namespace WebCore |
46 | 46 |
47 #endif // DeviceLightController_h | 47 #endif // DeviceLightController_h |
OLD | NEW |