Index: ui/events/gesture_detection/gesture_event_params.cc |
diff --git a/ui/events/gesture_detection/gesture_event_params.cc b/ui/events/gesture_detection/gesture_event_params.cc |
new file mode 100644 |
index 0000000000000000000000000000000000000000..117dd0283ee3ebe5051ac99f155ccbd8a0520fb0 |
--- /dev/null |
+++ b/ui/events/gesture_detection/gesture_event_params.cc |
@@ -0,0 +1,24 @@ |
+// Copyright 2014 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "ui/events/gesture_detection/gesture_event_params.h" |
+ |
+namespace ui { |
+ |
+GestureEventParams::GestureEventParams(GestureEventType type, |
+ base::TimeTicks time, |
+ float x, |
+ float y, |
+ const Data& data) |
+ : type(type), |
+ time(time), |
+ x(x), |
+ y(y), |
+ data(data) {} |
+ |
+GestureEventParams::Data::Data() { |
+ memset(this, 0, sizeof(Data)); |
+} |
+ |
+} // namespace ui |