Index: chrome/browser/renderer_host/render_widget_host_view_views.cc |
diff --git a/chrome/browser/renderer_host/render_widget_host_view_views.cc b/chrome/browser/renderer_host/render_widget_host_view_views.cc |
index b9ebf768e239fcf1454f88401e7ac4b2cc58a862..5de0124b7c5f525aae46bfd4ffd82b47edb7b86b 100644 |
--- a/chrome/browser/renderer_host/render_widget_host_view_views.cc |
+++ b/chrome/browser/renderer_host/render_widget_host_view_views.cc |
@@ -107,6 +107,13 @@ WebKit::WebInputEvent::Type TouchEventTypeFromEvent( |
} |
} |
+inline void UpdateTouchParams(const views::TouchEvent& event, |
+ WebKit::WebTouchPoint* tpoint) { |
+ tpoint->radiusX = event.radius_x(); |
+ tpoint->radiusY = event.radius_y(); |
+ tpoint->rotationAngle = event.angle(); |
+} |
+ |
void UpdateTouchPointPosition(const views::TouchEvent* event, |
const gfx::Point& origin, |
WebKit::WebTouchPoint* tpoint) { |
@@ -563,6 +570,8 @@ views::View::TouchStatus RenderWidgetHostViewViews::OnTouchEvent( |
if (status != TOUCH_STATUS_START) |
status = TOUCH_STATUS_CONTINUE; |
+ UpdateTouchParams(event, point); |
+ |
// Update the location and state of the point. |
point->state = TouchPointStateFromEvent(&event); |
if (point->state == WebKit::WebTouchPoint::StateMoved) { |