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

Unified Diff: content/browser/renderer_host/web_input_event_aurax11.cc

Issue 10916346: Propagate touch area to WebKit for GestureTapDown event (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
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 | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/web_input_event_aurax11.cc
diff --git a/content/browser/renderer_host/web_input_event_aurax11.cc b/content/browser/renderer_host/web_input_event_aurax11.cc
index 67e04a11482df146008fdcc489b1b723edb1fb3e..41050583b4d839df367f9b36bf3a5d8cdc87c373 100644
--- a/content/browser/renderer_host/web_input_event_aurax11.cc
+++ b/content/browser/renderer_host/web_input_event_aurax11.cc
@@ -354,6 +354,10 @@ WebKit::WebGestureEvent MakeWebGestureEventFromAuraEvent(
break;
case ui::ET_GESTURE_TAP_DOWN:
gesture_event.type = WebKit::WebInputEvent::GestureTapDown;
+ gesture_event.data.tapDown.width =
+ event->details().bounding_box().width();
+ gesture_event.data.tapDown.height =
+ event->details().bounding_box().height();
break;
case ui::ET_GESTURE_TAP_CANCEL:
gesture_event.type = WebKit::WebInputEvent::GestureTapCancel;
« no previous file with comments | « content/browser/renderer_host/render_widget_host_view_win.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698