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

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

Issue 2720003003: Implement DeviceOrientationEvent constructor. (Closed)
Patch Set: Reference Candidate Recommendation. Created 3 years, 10 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
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..6eb7c0e52865d682723880bfd492d11f78bad1e1 100644
--- a/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
+++ b/third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.h
@@ -31,6 +31,7 @@
namespace blink {
+class DeviceOrientationEventInit;
class WebDeviceOrientationData;
class DeviceOrientationData final
@@ -41,6 +42,7 @@ class DeviceOrientationData final
const Nullable<double>& beta,
const Nullable<double>& gamma,
bool absolute);
+ static DeviceOrientationData* create(const DeviceOrientationEventInit&);
static DeviceOrientationData* create(const WebDeviceOrientationData&);
DEFINE_INLINE_TRACE() {}
« no previous file with comments | « no previous file | third_party/WebKit/Source/modules/device_orientation/DeviceOrientationData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698