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

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

Issue 236833003: Rename device_orientation to device_sensors (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase Created 6 years, 8 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 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 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 CONTENT_RENDERER_DEVICE_ORIENTATION_EVENT_PUMP_H_ 5 #ifndef CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_
6 #define CONTENT_RENDERER_DEVICE_ORIENTATION_EVENT_PUMP_H_ 6 #define CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_
7 7
8 #include "base/memory/scoped_ptr.h" 8 #include "base/memory/scoped_ptr.h"
9 #include "content/renderer/device_orientation/device_sensor_event_pump.h" 9 #include "content/renderer/device_sensors/device_sensor_event_pump.h"
10 #include "content/renderer/shared_memory_seqlock_reader.h" 10 #include "content/renderer/shared_memory_seqlock_reader.h"
11 #include "third_party/WebKit/public/platform/WebDeviceOrientationData.h" 11 #include "third_party/WebKit/public/platform/WebDeviceOrientationData.h"
12 12
13 namespace blink { 13 namespace blink {
14 class WebDeviceOrientationListener; 14 class WebDeviceOrientationListener;
15 } 15 }
16 16
17 namespace content { 17 namespace content {
18 18
19 typedef SharedMemorySeqLockReader<blink::WebDeviceOrientationData> 19 typedef SharedMemorySeqLockReader<blink::WebDeviceOrientationData>
(...skipping 24 matching lines...) Expand all
44 44
45 bool ShouldFireEvent(const blink::WebDeviceOrientationData& data) const; 45 bool ShouldFireEvent(const blink::WebDeviceOrientationData& data) const;
46 46
47 blink::WebDeviceOrientationListener* listener_; 47 blink::WebDeviceOrientationListener* listener_;
48 blink::WebDeviceOrientationData data_; 48 blink::WebDeviceOrientationData data_;
49 scoped_ptr<DeviceOrientationSharedMemoryReader> reader_; 49 scoped_ptr<DeviceOrientationSharedMemoryReader> reader_;
50 }; 50 };
51 51
52 } // namespace content 52 } // namespace content
53 53
54 #endif // CONTENT_RENDERER_DEVICE_ORIENTATION_EVENT_PUMP_H_ 54 #endif // CONTENT_RENDERER_DEVICE_SENSORS_DEVICE_ORIENTATION_EVENT_PUMP_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698