| Index: ui/events/gesture_event_details.cc
|
| diff --git a/ui/events/gesture_event_details.cc b/ui/events/gesture_event_details.cc
|
| index 3203fd4ec77128721a26054be3febfcdfb50e572..9f4d2b9c9b62dfab0b39fba918832822aa8753dc 100644
|
| --- a/ui/events/gesture_event_details.cc
|
| +++ b/ui/events/gesture_event_details.cc
|
| @@ -9,11 +9,13 @@ namespace ui {
|
| GestureEventDetails::GestureEventDetails()
|
| : type_(ET_UNKNOWN),
|
| device_type_(GestureDeviceType::DEVICE_UNKNOWN),
|
| + primary_pointer_type_(EventPointerType::POINTER_TYPE_UNKNOWN),
|
| touch_points_(0) {}
|
|
|
| GestureEventDetails::GestureEventDetails(ui::EventType type)
|
| : type_(type),
|
| device_type_(GestureDeviceType::DEVICE_UNKNOWN),
|
| + primary_pointer_type_(EventPointerType::POINTER_TYPE_UNKNOWN),
|
| touch_points_(1) {
|
| DCHECK_GE(type, ET_GESTURE_TYPE_START);
|
| DCHECK_LE(type, ET_GESTURE_TYPE_END);
|
| @@ -25,6 +27,7 @@ GestureEventDetails::GestureEventDetails(ui::EventType type,
|
| ScrollUnits units)
|
| : type_(type),
|
| device_type_(GestureDeviceType::DEVICE_UNKNOWN),
|
| + primary_pointer_type_(EventPointerType::POINTER_TYPE_UNKNOWN),
|
| touch_points_(1) {
|
| DCHECK_GE(type, ET_GESTURE_TYPE_START);
|
| DCHECK_LE(type, ET_GESTURE_TYPE_END);
|
| @@ -68,6 +71,7 @@ GestureEventDetails::GestureEventDetails(ui::EventType type,
|
| : type_(type),
|
| data_(other.data_),
|
| device_type_(other.device_type_),
|
| + primary_pointer_type_(other.primary_pointer_type_),
|
| touch_points_(other.touch_points_),
|
| bounding_box_(other.bounding_box_) {
|
| DCHECK_GE(type, ET_GESTURE_TYPE_START);
|
|
|