Lines Matching refs:ack_handler_
153 ack_handler_.reset(new MockInputAckHandler());
158 ack_handler_.get(),
162 ack_handler_->set_input_router(input_router());
327 scoped_ptr<MockInputAckHandler> ack_handler_;
421 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
436 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
445 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
465 EXPECT_TRUE(ack_handler_->unexpected_event_ack_called());
485 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
487 ack_handler_->acked_keyboard_event().type);
495 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
528 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
542 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
556 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
569 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
583 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
608 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
610 ack_handler_->acked_touch_event().event.type);
616 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
618 ack_handler_->acked_touch_event().event.type);
717 EXPECT_EQ(acks[i], ack_handler_->acked_touch_event().event.type);
721 ack_handler_->acked_touch_event(), &acked, coordinate_system);
750 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
751 EXPECT_EQ(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, ack_handler_->ack_state());
752 EXPECT_EQ(ack_handler_->acked_wheel_event().deltaY, -5);
760 EXPECT_EQ(ack_handler_->acked_wheel_event().deltaY, -5);
778 ASSERT_EQ(1U, ack_handler_->GetAndResetAckCount());
785 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
791 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
833 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
839 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
847 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
867 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
872 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
912 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
918 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
924 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
930 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
935 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
940 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
945 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
954 EXPECT_EQ(2U, ack_handler_->GetAndResetAckCount());
960 EXPECT_EQ(2U, ack_handler_->GetAndResetAckCount());
966 EXPECT_EQ(2U, ack_handler_->GetAndResetAckCount());
976 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
983 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
991 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
998 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1004 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1011 EXPECT_EQ(3U, ack_handler_->GetAndResetAckCount());
1024 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1029 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1034 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1040 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1111 ack_handler_->GetAndResetAckCount();
1124 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1131 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1138 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1145 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1150 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1458 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1459 ASSERT_EQ(WebInputEvent::GesturePinchUpdate, ack_handler_->ack_event_type());
1460 EXPECT_EQ(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, ack_handler_->ack_state());
1461 EXPECT_EQ(1.5f, ack_handler_->acked_gesture_event().data.pinchUpdate.scale);
1479 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1480 EXPECT_EQ(WebInputEvent::GesturePinchUpdate, ack_handler_->ack_event_type());
1481 EXPECT_EQ(INPUT_EVENT_ACK_STATE_CONSUMED, ack_handler_->ack_state());
1483 ack_handler_->acked_gesture_event().data.pinchUpdate.scale);
1501 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1508 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1515 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1520 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1521 EXPECT_EQ(WebInputEvent::GesturePinchUpdate, ack_handler_->ack_event_type());
1522 EXPECT_EQ(INPUT_EVENT_ACK_STATE_NOT_CONSUMED, ack_handler_->ack_state());
1523 EXPECT_EQ(1.5f, ack_handler_->acked_gesture_event().data.pinchUpdate.scale);
1535 EXPECT_EQ(0U, ack_handler_->GetAndResetAckCount());
1539 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1540 EXPECT_EQ(WebInputEvent::GesturePinchUpdate, ack_handler_->ack_event_type());
1541 EXPECT_EQ(INPUT_EVENT_ACK_STATE_CONSUMED, ack_handler_->ack_state());
1543 ack_handler_->acked_gesture_event().data.pinchUpdate.scale);
1581 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1582 EXPECT_EQ(WebInputEvent::MouseWheel, ack_handler_->ack_event_type());
1599 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1600 EXPECT_EQ(WebInputEvent::MouseWheel, ack_handler_->ack_event_type());
1615 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1616 EXPECT_EQ(WebInputEvent::GesturePinchUpdate, ack_handler_->ack_event_type());
1631 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1632 EXPECT_EQ(WebInputEvent::GesturePinchUpdate, ack_handler_->ack_event_type());
1669 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1677 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());
1683 EXPECT_EQ(1U, ack_handler_->GetAndResetAckCount());