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

Unified Diff: Source/modules/device_orientation/DeviceMotionData.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/DeviceMotionData.h
diff --git a/Source/modules/device_orientation/DeviceMotionData.h b/Source/modules/device_orientation/DeviceMotionData.h
index 3db267d2a21597b22cc6c74d5629b9b35ccfcf9c..7e26a174b8d1959b72bca46d057fc485dc5d2f1e 100644
--- a/Source/modules/device_orientation/DeviceMotionData.h
+++ b/Source/modules/device_orientation/DeviceMotionData.h
@@ -98,6 +98,8 @@ public:
bool canProvideInterval() const { return m_canProvideInterval; }
double interval() const { return m_interval; }
+ bool canProvideEventData() const;
+
private:
DeviceMotionData();
DeviceMotionData(PassRefPtr<Acceleration> acceleration, PassRefPtr<Acceleration> accelerationIncludingGravity,
« no previous file with comments | « Source/modules/device_orientation/DeviceMotionController.cpp ('k') | Source/modules/device_orientation/DeviceMotionData.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698