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

Unified Diff: Source/modules/device_orientation/NewDeviceOrientationController.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/NewDeviceOrientationController.h
diff --git a/Source/modules/device_orientation/NewDeviceOrientationController.h b/Source/modules/device_orientation/NewDeviceOrientationController.h
index 0dbabb80cc3a589a56d13db1cba95c09bd4cbf9b..1b95938138a633b05fbaa5d54319c468ab84fe19 100644
--- a/Source/modules/device_orientation/NewDeviceOrientationController.h
+++ b/Source/modules/device_orientation/NewDeviceOrientationController.h
@@ -54,6 +54,7 @@ private:
virtual bool hasLastData() OVERRIDE;
virtual PassRefPtr<Event> getLastEvent() OVERRIDE;
+ virtual bool isNullEvent(Event*) OVERRIDE;
};
} // namespace WebCore

Powered by Google App Engine
This is Rietveld 408576698