Chromium Code Reviews (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out

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: Rebase Created 3 years, 9 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 986088a5376a0c2d8282d6f09b4bdc720610ddb5..9bc93290b7b338220299bd688e427ecb9751bb6b 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h
@@ -28,12 +28,15 @@
#include "platform/heap/Handle.h"
+namespace device {
+class MotionData;
namespace blink {
class DeviceAccelerationInit;
class DeviceMotionEventInit;
class DeviceRotationRateInit;
-class WebDeviceMotionData;
class DeviceMotionData final : public GarbageCollected<DeviceMotionData> {
@@ -118,7 +121,7 @@ class DeviceMotionData final : public GarbageCollected<DeviceMotionData> {
bool canProvideInterval,
double interval);
static DeviceMotionData* create(const DeviceMotionEventInit&);
- static DeviceMotionData* create(const WebDeviceMotionData&);
+ static DeviceMotionData* create(const device::MotionData&);
Acceleration* getAcceleration() const { return m_acceleration.get(); }

Powered by Google App Engine
This is Rietveld 408576698