DescriptionAdd debugging flag --simulate-touch-screen-with-mouse.
This flag causes mouse events to be mapped to touch gesture events in
RenderWidgetHost:
- Hold left mouse button and move: GestureScrollUpdate
- Hold right mouse button and move on Y axis: GesturePinchUpdate
- Middle mouse button down: GestureTapDown
- Middle mouse button up: GestureTap
This provides a convenient way to test touch-oriented features with only
an ordinary Linux machine.
Note that to get pinch gesture support, --enable-threaded-compositing
must also be set.
BUG=132607
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=150274
Patch Set 1 #
Total comments: 2
Patch Set 2 : Fixed style problems #Patch Set 3 : Fixed Android trybot failure with float/double conversion #
Messages
Total messages: 10 (0 generated)
|