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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.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/DeviceOrientationData.h
diff --git a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
index 0aa00d82778c199cbb14e80d78fb7a7dd9ec4edd..08b33ec8916f4dc731d922f0254d42c8fdf93319 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
@@ -29,13 +29,10 @@
#include "bindings/core/v8/Nullable.h"
#include "platform/heap/Handle.h"
-namespace device {
-class OrientationData;
-}
-
namespace blink {
class DeviceOrientationEventInit;
+class WebDeviceOrientationData;
class DeviceOrientationData final
: public GarbageCollected<DeviceOrientationData> {
@@ -46,7 +43,7 @@ class DeviceOrientationData final
const Nullable<double>& gamma,
bool absolute);
static DeviceOrientationData* Create(const DeviceOrientationEventInit&);
- static DeviceOrientationData* Create(const device::OrientationData&);
+ static DeviceOrientationData* Create(const WebDeviceOrientationData&);
DEFINE_INLINE_TRACE() {}
double Alpha() const;

Powered by Google App Engine
This is Rietveld 408576698