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

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: Revert licenses change for similarity Created 4 years, 2 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 6372dd229ee0f8fb5381e2006aa710524b15be62..97f8f8e778b1e9c3ebde77d0e684fdc8d1e25e62 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
@@ -29,9 +29,11 @@
#include "bindings/core/v8/Nullable.h"
#include "platform/heap/Handle.h"
-namespace blink {
+namespace device {
+class OrientationData;
+}
-class WebDeviceOrientationData;
+namespace blink {
class DeviceOrientationData final
: public GarbageCollected<DeviceOrientationData> {
@@ -41,7 +43,7 @@ class DeviceOrientationData final
const Nullable<double>& beta,
const Nullable<double>& gamma,
bool absolute);
- 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