Index: ui/aura/event.cc |
=================================================================== |
--- ui/aura/event.cc (revision 126124) |
+++ ui/aura/event.cc (working copy) |
@@ -376,11 +376,9 @@ |
int y, |
int flags, |
base::Time time_stamp, |
- float delta_x, |
- float delta_y) |
+ const GestureEvent::Properties& properties) |
: LocatedEvent(type, gfx::Point(x, y), gfx::Point(x, y), flags), |
- delta_x_(delta_x), |
- delta_y_(delta_y) { |
+ properties_(properties) { |
// XXX: Why is aura::Event::time_stamp_ a TimeDelta instead of a Time? |
set_time_stamp(base::TimeDelta::FromSeconds(time_stamp.ToDoubleT())); |
} |
@@ -389,8 +387,7 @@ |
Window* source, |
Window* target) |
: LocatedEvent(model, source, target), |
- delta_x_(model.delta_x_), |
- delta_y_(model.delta_y_) { |
+ properties_(model.properties_) { |
} |
} // namespace aura |