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

Unified Diff: Tools/DumpRenderTree/chromium/TestRunner/EventSender.cpp

Issue 10988006: Merge 128999 - Do touch adjustment on GestureTapDown (Closed) Base URL: http://svn.webkit.org/repository/webkit/branches/chromium/1271/
Patch Set: Created 8 years, 3 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 | « Source/WebCore/page/EventHandler.cpp ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: Tools/DumpRenderTree/chromium/TestRunner/EventSender.cpp
===================================================================
--- Tools/DumpRenderTree/chromium/TestRunner/EventSender.cpp (revision 129420)
+++ Tools/DumpRenderTree/chromium/TestRunner/EventSender.cpp (working copy)
@@ -1188,6 +1188,10 @@
case WebInputEvent::GestureTapDown:
event.x = point.x;
event.y = point.y;
+ if (arguments.size() >= 4) {
+ event.data.tapDown.width = static_cast<float>(arguments[2].toDouble());
+ event.data.tapDown.height = static_cast<float>(arguments[3].toDouble());
+ }
break;
case WebInputEvent::GestureTapCancel:
event.x = point.x;
« no previous file with comments | « Source/WebCore/page/EventHandler.cpp ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698