Lines Matching defs:gesture_event
153 WebKit::WebGestureEvent gesture_event;
157 gesture_event.type = WebKit::WebInputEvent::GestureTap;
158 gesture_event.data.tap.tapCount = event.details().tap_count();
159 gesture_event.data.tap.width = event.details().bounding_box().width();
160 gesture_event.data.tap.height = event.details().bounding_box().height();
163 gesture_event.type = WebKit::WebInputEvent::GestureTapDown;
164 gesture_event.data.tapDown.width =
166 gesture_event.data.tapDown.height =
170 gesture_event.type = WebKit::WebInputEvent::GestureTapCancel;
173 gesture_event.type = WebKit::WebInputEvent::GestureScrollBegin;
176 gesture_event.type = WebKit::WebInputEvent::GestureScrollUpdate;
177 gesture_event.data.scrollUpdate.deltaX = event.details().scroll_x();
178 gesture_event.data.scrollUpdate.deltaY = event.details().scroll_y();
181 gesture_event.type = WebKit::WebInputEvent::GestureScrollEnd;
184 gesture_event.type = WebKit::WebInputEvent::GesturePinchBegin;
187 gesture_event.type = WebKit::WebInputEvent::GesturePinchUpdate;
188 gesture_event.data.pinchUpdate.scale = event.details().scale();
191 gesture_event.type = WebKit::WebInputEvent::GesturePinchEnd;
194 gesture_event.type = WebKit::WebInputEvent::GestureFlingStart;
195 gesture_event.data.flingStart.velocityX = event.details().velocity_x();
196 gesture_event.data.flingStart.velocityY = event.details().velocity_y();
199 gesture_event.type = WebKit::WebInputEvent::GestureFlingCancel;
202 gesture_event.type = WebKit::WebInputEvent::GestureLongPress;
203 gesture_event.data.longPress.width =
205 gesture_event.data.longPress.height =
209 gesture_event.type = WebKit::WebInputEvent::GestureLongTap;
210 gesture_event.data.longPress.width =
212 gesture_event.data.longPress.height =
216 gesture_event.type = WebKit::WebInputEvent::GestureTwoFingerTap;
217 gesture_event.data.twoFingerTap.firstFingerWidth =
219 gesture_event.data.twoFingerTap.firstFingerHeight =
225 gesture_event.type = WebKit::WebInputEvent::Undefined;
231 gesture_event.sourceDevice = WebKit::WebGestureEvent::Touchscreen;
232 gesture_event.modifiers = EventFlagsToWebEventModifiers(event.flags());
233 gesture_event.timeStampSeconds = event.time_stamp().InSecondsF();
235 return gesture_event;