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: webkit/tools/test_shell/event_sending_controller.cc

Issue 4191008: Make EventSendingController honour leapForward for touch events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 10 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
« no previous file with comments | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: webkit/tools/test_shell/event_sending_controller.cc
diff --git a/webkit/tools/test_shell/event_sending_controller.cc b/webkit/tools/test_shell/event_sending_controller.cc
index 9e25b7bd5eaa190a88a3ed92a35092aedeb51754..d16f6c6dad3a5179da5a21cc7aec6948d04f5d4b 100644
--- a/webkit/tools/test_shell/event_sending_controller.cc
+++ b/webkit/tools/test_shell/event_sending_controller.cc
@@ -926,6 +926,7 @@ void EventSendingController::SendCurrentTouchEvent(
WebTouchEvent touch_event;
touch_event.type = type;
touch_event.modifiers = touch_modifiers;
+ touch_event.timeStampSeconds = GetCurrentEventTimeSec();
touch_event.touchPointsLength = touch_points.size();
for (unsigned int i = 0; i < touch_points.size(); ++i) {
touch_event.touchPoints[i] = touch_points[i];
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698