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

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

Issue 21256002: Fire null Device Motion events only once. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: fixed comments Created 7 years, 5 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: Source/modules/device_orientation/DeviceOrientationData.h
diff --git a/Source/modules/device_orientation/DeviceOrientationData.h b/Source/modules/device_orientation/DeviceOrientationData.h
index be4fc219d51c553ab4cf89f618db953f13811f73..34285fa00da05e7225974832502cd625a27f029d 100644
--- a/Source/modules/device_orientation/DeviceOrientationData.h
+++ b/Source/modules/device_orientation/DeviceOrientationData.h
@@ -50,6 +50,8 @@ public:
bool canProvideGamma() const;
bool canProvideAbsolute() const;
+ bool canProvideEventData() const;
+
private:
DeviceOrientationData();
DeviceOrientationData(bool canProvideAlpha, double alpha, bool canProvideBeta, double beta, bool canProvideGamma, double gamma, bool canProvideAbsolute, bool absolute);

Powered by Google App Engine
This is Rietveld 408576698