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

Unified Diff: ui/aura/event.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
« no previous file with comments | « ui/aura/event.h ('k') | ui/aura/root_window.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ui/aura/event.cc
diff --git a/ui/aura/event.cc b/ui/aura/event.cc
index 832675cd216f13467cd1b2a37fe2f62f9b1e608b..1ecfab4ea83cf0d013d5cf49b06101d96b81c617 100644
--- a/ui/aura/event.cc
+++ b/ui/aura/event.cc
@@ -448,11 +448,10 @@ GestureEvent::GestureEvent(ui::EventType type,
int y,
int flags,
base::Time time_stamp,
- float delta_x,
- float delta_y,
+ const ui::GestureEventDetails& details,
unsigned int touch_ids_bitfield)
: LocatedEvent(type, gfx::Point(x, y), gfx::Point(x, y), flags),
- details_(type, delta_x, delta_y),
+ details_(details),
touch_ids_bitfield_(touch_ids_bitfield) {
set_time_stamp(base::TimeDelta::FromSeconds(time_stamp.ToDoubleT()));
}
« no previous file with comments | « ui/aura/event.h ('k') | ui/aura/root_window.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698