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

Unified Diff: third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.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/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 92c115d57b444b4c08dd5258cf25c964f9b251ce..dd2c285353c9bf4d183b5a2a0c9a8f47e5432101 100644
--- a/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h
+++ b/third_party/WebKit/public/platform/modules/device_orientation/WebDeviceMotionListener.h
@@ -33,14 +33,16 @@
#include "public/platform/WebPlatformEventListener.h"
-namespace blink {
+namespace device {
+class MotionData;
+}
-class WebDeviceMotionData;
+namespace blink {
class WebDeviceMotionListener : public WebPlatformEventListener {
public:
// This method is called every time new device motion data is available.
- virtual void didChangeDeviceMotion(const WebDeviceMotionData&) = 0;
+ virtual void didChangeDeviceMotion(const device::MotionData&) = 0;
virtual ~WebDeviceMotionListener() {}
};

Powered by Google App Engine
This is Rietveld 408576698