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

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

Issue 10892027: Fix touchscreen fling scrolling on Windows (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 4 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: content/browser/renderer_host/render_widget_host_view_win.cc
diff --git a/content/browser/renderer_host/render_widget_host_view_win.cc b/content/browser/renderer_host/render_widget_host_view_win.cc
index ccf9098e3964075e2768c8aed2e37a618b28229c..e9ff75bf13e1c2776b07aaf2d30b0502c5125729 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -418,8 +418,8 @@ WebKit::WebGestureEvent CreateWebGestureEvent(HWND hwnd,
gesture_event.data.flingStart.velocityY = gesture.details().velocity_y();
gesture_event.deltaX = gesture.details().velocity_x();
gesture_event.deltaY = gesture.details().velocity_y();
+ break;
case ui::ET_GESTURE_LONG_PRESS:
- gesture_event.type = WebKit::WebInputEvent::GestureLongPress;
gesture_event.data.longPress.width =
gesture.details().bounding_box().width();
gesture_event.data.longPress.height =
« 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