Lines Matching defs:touch_event_
565 widget_host_->ForwardTouchEventWithLatencyInfo(touch_event_,
567 touch_event_.ResetPoints();
571 touch_event_.PressPoint(x, y);
576 touch_event_.MovePoint(index, x, y);
581 touch_event_.ReleasePoint(index);
607 SyntheticWebTouchEvent touch_event_;
835 EXPECT_EQ(blink::WebInputEvent::TouchStart, view_->touch_event_.type);
836 EXPECT_TRUE(view_->touch_event_.cancelable);
837 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
839 view_->touch_event_.touches[0].state);
843 EXPECT_EQ(blink::WebInputEvent::TouchMove, view_->touch_event_.type);
844 EXPECT_TRUE(view_->touch_event_.cancelable);
845 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
847 view_->touch_event_.touches[0].state);
851 EXPECT_EQ(blink::WebInputEvent::TouchEnd, view_->touch_event_.type);
852 EXPECT_TRUE(view_->touch_event_.cancelable);
853 EXPECT_EQ(0U, view_->touch_event_.touchesLength);
863 EXPECT_EQ(blink::WebInputEvent::TouchStart, view_->touch_event_.type);
864 EXPECT_TRUE(view_->touch_event_.cancelable);
865 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
867 view_->touch_event_.touches[0].state);
871 EXPECT_EQ(blink::WebInputEvent::TouchMove, view_->touch_event_.type);
872 EXPECT_TRUE(view_->touch_event_.cancelable);
873 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
875 view_->touch_event_.touches[0].state);
879 EXPECT_EQ(blink::WebInputEvent::TouchEnd, view_->touch_event_.type);
880 EXPECT_TRUE(view_->touch_event_.cancelable);
881 EXPECT_EQ(0U, view_->touch_event_.touchesLength);
886 EXPECT_EQ(blink::WebInputEvent::TouchStart, view_->touch_event_.type);
887 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
889 view_->touch_event_.touches[0].state);
905 EXPECT_EQ(blink::WebInputEvent::TouchMove, view_->touch_event_.type);
906 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
908 view_->touch_event_.touches[0].state);
914 EXPECT_EQ(blink::WebInputEvent::TouchEnd, view_->touch_event_.type);
915 EXPECT_EQ(0U, view_->touch_event_.touchesLength);
942 EXPECT_EQ(blink::WebInputEvent::TouchStart, view_->touch_event_.type);
943 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
945 view_->touch_event_.touches[0].state);
949 EXPECT_EQ(blink::WebInputEvent::TouchMove, view_->touch_event_.type);
950 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
952 view_->touch_event_.touches[0].state);
958 EXPECT_EQ(blink::WebInputEvent::TouchMove, view_->touch_event_.type);
959 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
961 view_->touch_event_.touches[0].state);
965 EXPECT_EQ(blink::WebInputEvent::TouchEnd, view_->touch_event_.type);
966 EXPECT_EQ(0U, view_->touch_event_.touchesLength);
1856 EXPECT_EQ(blink::WebInputEvent::TouchStart, view_->touch_event_.type);
1857 EXPECT_TRUE(view_->touch_event_.cancelable);
1858 EXPECT_EQ(1U, view_->touch_event_.touchesLength);
1860 view_->touch_event_.touches[0].state);
1861 EXPECT_EQ(kX, view_->touch_event_.touches[0].screenPosition.x);
1862 EXPECT_EQ(kX, view_->touch_event_.touches[0].position.x);
1863 EXPECT_EQ(kY, view_->touch_event_.touches[0].screenPosition.y);
1864 EXPECT_EQ(kY, view_->touch_event_.touches[0].position.y);