| Index: ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
|
| diff --git a/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc b/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
|
| index e84049ce63631ec5bf3a760cbde90d6ea207d693..a39627ef73b9c16174445b37693b6fa745fa384a 100644
|
| --- a/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
|
| +++ b/ui/events/gesture_detection/touch_disposition_gesture_filter_unittest.cc
|
| @@ -140,24 +140,24 @@ class TouchDispositionGestureFilterTest
|
| return queue_->OnGesturePacket(packet);
|
| }
|
|
|
| - void SendTouchEventAck(uint32_t touch_event_id, bool event_consumed) {
|
| - queue_->OnTouchEventAck(touch_event_id, event_consumed);
|
| + void SendTouchEventAck(uint32_t touch_event_id, EventResult result) {
|
| + queue_->OnTouchEventAck(touch_event_id, result);
|
| }
|
|
|
| void SendTouchConsumedAck(uint32_t touch_event_id) {
|
| - SendTouchEventAck(touch_event_id, true);
|
| + SendTouchEventAck(touch_event_id, ER_CONSUMED);
|
| }
|
|
|
| void SendTouchNotConsumedAck(uint32_t touch_event_id) {
|
| - SendTouchEventAck(touch_event_id, false);
|
| + SendTouchEventAck(touch_event_id, ER_UNHANDLED);
|
| }
|
|
|
| void SendTouchConsumedAckForLastTouch() {
|
| - SendTouchEventAck(last_sent_touch_event_id_, true);
|
| + SendTouchEventAck(last_sent_touch_event_id_, ER_CONSUMED);
|
| }
|
|
|
| void SendTouchNotConsumedAckForLastTouch() {
|
| - SendTouchEventAck(last_sent_touch_event_id_, false);
|
| + SendTouchEventAck(last_sent_touch_event_id_, ER_UNHANDLED);
|
| }
|
|
|
| void PushGesture(EventType type) {
|
|
|