#include "ui/events/gesture_detection/gesture_event_data.h"
#include <ostream>
#include "base/check_op.h"
#include "base/notreached.h"
namespace ui {
namespace {
EventPointerType ToEventPointerType(MotionEvent::ToolType tool_type) { … }
}
GestureEventData::GestureEventData(const GestureEventDetails& details,
int motion_event_id,
MotionEvent::ToolType primary_tool_type,
base::TimeTicks time,
float x,
float y,
float raw_x,
float raw_y,
size_t touch_point_count,
const gfx::RectF& bounding_box,
int flags,
uint32_t unique_touch_event_id)
: … { … }
GestureEventData::GestureEventData(EventType type,
const GestureEventData& other)
: … { … }
GestureEventData::GestureEventData(const GestureEventData& other) = default;
GestureEventData& GestureEventData::operator=(const GestureEventData& other) =
default;
GestureEventData::GestureEventData()
: … { … }
}