Chromium Code Reviews| Index: ui/events/gesture_event_details.h |
| diff --git a/ui/events/gesture_event_details.h b/ui/events/gesture_event_details.h |
| index 2b066d56188c5a7ae999492165d8e74b81b8734f..907a940ead868748be92cd5c062abe0fc440ab30 100644 |
| --- a/ui/events/gesture_event_details.h |
| +++ b/ui/events/gesture_event_details.h |
| @@ -45,6 +45,15 @@ struct EVENTS_BASE_EXPORT GestureEventDetails { |
| device_type_ = device_type; |
| } |
| + bool is_source_touch_event_set_non_blocking() const { |
| + return is_source_touch_event_set_non_blocking_; |
| + } |
| + void set_is_source_touch_event_set_non_blocking( |
| + bool is_source_touch_event_set_non_blocking) { |
| + is_source_touch_event_set_non_blocking_ = |
| + is_source_touch_event_set_non_blocking; |
| + } |
| + |
| int touch_points() const { return touch_points_; } |
| void set_touch_points(int touch_points) { |
| DCHECK_GT(touch_points, 0); |
| @@ -225,6 +234,8 @@ struct EVENTS_BASE_EXPORT GestureEventDetails { |
| GestureDeviceType device_type_; |
| + bool is_source_touch_event_set_non_blocking_ = false; |
|
chongz
2017/06/19 20:24:39
|GestureEventDetails.is_source_touch_event_set_non
|
| + |
| int touch_points_; // Number of active touch points in the gesture. |
| // Bounding box is an axis-aligned rectangle that contains all the |