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

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

Powered by Google App Engine
This is Rietveld 408576698