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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.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/DeviceMotionDispatcher.h
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h
index 55c4bd3cf09a8d37c42f30c80061901be0d1b275..9ef20edf5e8a5382090a11e9d2224ad3ceb1e03e 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceMotionDispatcher.h
@@ -36,10 +36,13 @@
#include "public/platform/modules/device_orientation/WebDeviceMotionListener.h"
#include "wtf/RefPtr.h"
+namespace device {
+class MotionData;
+}
+
namespace blink {
class DeviceMotionData;
-class WebDeviceMotionData;
// This class listens to device motion data and notifies all registered
// controllers.
@@ -58,7 +61,7 @@ class DeviceMotionDispatcher final
DeviceMotionData* latestDeviceMotionData();
// Inherited from WebDeviceMotionListener.
- void didChangeDeviceMotion(const WebDeviceMotionData&) override;
+ void didChangeDeviceMotion(const device::MotionData&) override;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698