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..73223b0aea08592a8c8ff8b432db0f396ae5053c |
--- /dev/null |
+++ b/ui/events/gesture_detection/gesture_event_params.cc |
@@ -0,0 +1,18 @@ |
+// 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 |