Lines Matching defs:touch
178 SyntheticWebTouchEvent touch;
181 // no touch-handler on it.
182 touch.PressPoint(25, 25);
183 GetWidgetHost()->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo());
189 // If a touch-press is acked with NO_CONSUMER_EXISTS, then subsequent
190 // touch-points don't need to be dispatched until the touch point is released.
191 touch.ReleasePoint(0);
192 GetWidgetHost()->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo());
193 touch.ResetPoints();
198 SyntheticWebTouchEvent touch;
201 // touch-handler on |second|, but it doesn't consume the event.
202 touch.PressPoint(125, 25);
203 GetWidgetHost()->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo());
207 touch.ReleasePoint(0);
208 GetWidgetHost()->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo());
210 touch.ResetPoints();
215 SyntheticWebTouchEvent touch;
217 // Press on |third| should be acked with CONSUMED since the touch-handler on
219 touch.PressPoint(25, 125);
220 GetWidgetHost()->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo());
224 touch.ReleasePoint(0);
225 GetWidgetHost()->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo());
237 SyntheticWebTouchEvent touch;
241 touch.PressPoint(25, 25);
242 GetWidgetHost()->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo());
247 touch.PressPoint(25, 125);
248 GetWidgetHost()->ForwardTouchEventWithLatencyInfo(touch, ui::LatencyInfo());