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

Side by Side Diff: content/renderer/device_sensors/device_orientation_absolute_event_pump.h

Issue 2037513002: Convert device_sensors to use mojo. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@conversion--mime-registry
Patch Set: rebase Created 4 years, 6 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
(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_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698