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

Unified Diff: third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.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/public/platform/modules/device_orientation/WebDeviceMotionListener.h
diff --git a/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h b/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h
index f64887b5c403e004c2ceccb6a860fc52bb53f546..849a286bcca69ba8e6d2dac244e9049585821f77 100644
--- a/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h
+++ b/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h
@@ -32,17 +32,14 @@
#define WebDeviceMotionListener_h
#include "public/platform/WebPlatformEventListener.h"
-
-namespace device {
-class MotionData;
-}
+#include "public/platform/modules/device_orientation/WebDeviceMotionData.h"
namespace blink {
class WebDeviceMotionListener : public WebPlatformEventListener {
public:
// This method is called every time new device motion data is available.
- virtual void DidChangeDeviceMotion(const device::MotionData&) = 0;
+ virtual void DidChangeDeviceMotion(const blink::WebDeviceMotionData&) = 0;
virtual ~WebDeviceMotionListener() {}
};

Powered by Google App Engine
This is Rietveld 408576698