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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h

Issue 2415083002: Move Device Sensors client files from Blink to //device/sensors client lib (Closed)
Patch Set: Revert licenses change for similarity Created 4 years, 2 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 side-by-side diff with in-line comments
Download patch
Index: third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h
index 286e137839b5c08fd45ef36edf16ee51b83ca1ec..92c3b5c8259f483f370088b59230e24b1e9f111c 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h
@@ -28,9 +28,11 @@
#include "platform/heap/Handle.h"
-namespace blink {
+namespace device {
+class MotionData;
+}
-class WebDeviceMotionData;
+namespace blink {
class DeviceMotionData final : public GarbageCollected<DeviceMotionData> {
public:
@@ -112,7 +114,7 @@ class DeviceMotionData final : public GarbageCollected<DeviceMotionData> {
RotationRate*,
bool canProvideInterval,
double interval);
- static DeviceMotionData* create(const WebDeviceMotionData&);
+ static DeviceMotionData* create(const device::MotionData&);
DECLARE_TRACE();
Acceleration* getAcceleration() const { return m_acceleration.get(); }

Powered by Google App Engine
This is Rietveld 408576698