OLD | NEW |
| (Empty) |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | |
2 // Use of this source code is governed by a BSD-style license that can be | |
3 // found in the LICENSE file. | |
4 | |
5 #ifndef CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_ABSOLUTE_EVENT_PUMP_H
_ | |
6 #define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_ABSOLUTE_EVENT_PUMP_H
_ | |
7 | |
8 #include "base/macros.h" | |
9 #include "content/renderer/device_sensors/device_orientation_event_pump.h" | |
10 | |
11 namespace content { | |
12 | |
13 class CONTENT_EXPORT DeviceOrientationAbsoluteEventPump | |
14 : public DeviceOrientationEventPump { | |
15 public: | |
16 explicit DeviceOrientationAbsoluteEventPump(RenderThread* thread); | |
17 ~DeviceOrientationAbsoluteEventPump() override; | |
18 | |
19 // DeviceOrientationEventPump | |
20 bool OnControlMessageReceived(const IPC::Message& message) override; | |
21 | |
22 protected: | |
23 // DeviceOrientationEventPump | |
24 void SendStartMessage() override; | |
25 void SendStopMessage() override; | |
26 | |
27 DISALLOW_COPY_AND_ASSIGN(DeviceOrientationAbsoluteEventPump); | |
28 }; | |
29 | |
30 } // namespace content | |
31 | |
32 #endif // CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_ABSOLUTE_EVENT_PUM
P_H_ | |
OLD | NEW |