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

Unified Diff: third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.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/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 6eb7c0e52865d682723880bfd492d11f78bad1e1..a8ce2602e4e0cd41b3d6ee0fb4d8191a2bd8799c 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
@@ -29,10 +29,13 @@
#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> {
@@ -43,7 +46,7 @@ class DeviceOrientationData final
const Nullable<double>& gamma,
bool absolute);
static DeviceOrientationData* create(const DeviceOrientationEventInit&);
- static DeviceOrientationData* create(const WebDeviceOrientationData&);
+ static DeviceOrientationData* create(const device::OrientationData&);
DEFINE_INLINE_TRACE() {}
double alpha() const;

Powered by Google App Engine
This is Rietveld 408576698