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

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

Issue 2896583005: Reland: Refactor DeviceMotionEventPump to use //device/generic_sensor instead of //device/sensors (Closed)
Patch Set: updated test code Created 3 years, 7 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 0ec9541aed6e06dea730fe7766911a142a9ff4b7..a9c159a14b7b693e876914d4e4a0666c4daef7ed 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionData.h
@@ -28,15 +28,12 @@
#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> {
public:
@@ -120,7 +117,7 @@ class DeviceMotionData final : public GarbageCollected<DeviceMotionData> {
RotationRate*,
double interval);
static DeviceMotionData* Create(const DeviceMotionEventInit&);
- static DeviceMotionData* Create(const device::MotionData&);
+ static DeviceMotionData* Create(const WebDeviceMotionData&);
DECLARE_TRACE();
Acceleration* GetAcceleration() const { return acceleration_.Get(); }

Powered by Google App Engine
This is Rietveld 408576698