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

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

Issue 2885203004: Refactor content/renderer/device_sensors to use device/generic_sensor instead of device/sensors (Closed)
Patch Set: updated content/renderer/BUILD.gn 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/DeviceOrientationDispatcher.h
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h
index 587d695d33b059bfd6e79509125494893b756d20..df35a860837a72921d095e9e970f16dc7084b78c 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationDispatcher.h
@@ -37,13 +37,10 @@
#include "public/platform/WebPlatformEventType.h"
#include "public/platform/modules/device_orientation/WebDeviceOrientationListener.h"
-namespace device {
-class OrientationData;
-}
-
namespace blink {
class DeviceOrientationData;
+class WebDeviceOrientationData;
// This class listens to device orientation data and notifies all registered
// controllers.
@@ -62,7 +59,7 @@ class DeviceOrientationDispatcher final
DeviceOrientationData* LatestDeviceOrientationData();
// Inherited from WebDeviceOrientationListener.
- void DidChangeDeviceOrientation(const device::OrientationData&) override;
+ void DidChangeDeviceOrientation(const WebDeviceOrientationData&) override;
DECLARE_VIRTUAL_TRACE();

Powered by Google App Engine
This is Rietveld 408576698