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

Unified Diff: ui/aura/root_window.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: ui/aura/root_window.cc
diff --git a/ui/aura/root_window.cc b/ui/aura/root_window.cc
index 6c45b2368fed4ba84e19cb7c219481a76ac1065b..56d2f269459c2e863207627edc3c291ad6ed3f4c 100644
--- a/ui/aura/root_window.cc
+++ b/ui/aura/root_window.cc
@@ -856,15 +856,15 @@ bool RootWindow::DispatchCancelTouchEvent(ui::TouchEvent* event) {
return DispatchTouchEvent(static_cast<TouchEvent*>(event));
}
-ui::GestureEvent* RootWindow::CreateGestureEvent(ui::EventType type,
+ui::GestureEvent* RootWindow::CreateGestureEvent(
+ 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 GestureEvent(type, location.x(), location.y(), flags, time,
- param_first, param_second, touch_id_bitfield);
+ return new GestureEvent(details.type(), location.x(), location.y(),
+ flags, time, details,
+ touch_id_bitfield);
}
ui::TouchEvent* RootWindow::CreateTouchEvent(ui::EventType type,

Powered by Google App Engine
This is Rietveld 408576698