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

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

Issue 10816008: ash: Record some additional information about the gestures. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: tot-merge Created 8 years, 5 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
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 f04f1a84f013ca8aaed19c2abbedc113605aa641..f70f329ed02759fa81c2c5c6d9bf6939c3524fa0 100644
--- a/content/browser/renderer_host/render_widget_host_view_win.cc
+++ b/content/browser/renderer_host/render_widget_host_view_win.cc
@@ -1277,16 +1277,14 @@ void RenderWidgetHostViewWin::UpdateDesiredTouchMode(bool touch_mode) {
}
ui::GestureEvent* RenderWidgetHostViewWin::CreateGestureEvent(
- ui::EventType type,
+ const ui::GestureEventDetails& details,
const gfx::Point& location,
int flags,
base::Time time,
- float param_first,
- float param_second,
unsigned int touch_id_bitfield) {
- return new LocalGestureEvent(type, location, flags, time,
- param_first, param_second, touch_id_bitfield);
+ return new LocalGestureEvent(details.type(), location, flags, time,
+ details.generic_x(), details.generic_y(), touch_id_bitfield);
}
ui::TouchEvent* RenderWidgetHostViewWin::CreateTouchEvent(

Powered by Google App Engine
This is Rietveld 408576698