1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef UI_EVENTS_GESTURE_DETECTION_GESTURE_EVENT_DATA_H_
6 #define UI_EVENTS_GESTURE_DETECTION_GESTURE_EVENT_DATA_H_
8 #include "base/time/time.h"
9 #include "ui/events/event_constants.h"
10 #include "ui/events/gesture_detection/gesture_detection_export.h"
11 #include "ui/events/gesture_event_details.h"
15 class GestureEventDataPacket;
17 struct GESTURE_DETECTION_EXPORT GestureEventData {
18 GestureEventData(EventType type,
23 int touch_point_count,
24 const gfx::RectF& bounding_box,
25 const GestureEventDetails& details);
27 GestureEventData(EventType type,
32 int touch_point_count,
33 const gfx::RectF& bounding_box);
41 GestureEventDetails details;
44 friend class GestureEventDataPacket;
46 // Initializes type to GESTURE_TYPE_INVALID.
52 #endif // UI_EVENTS_GESTURE_DETECTION_GESTURE_EVENT_DATA_H_