Make sure that the corresponding pointer events are sent when pressing
eraser button

When we press an eraser button of a stylus, we should send the missing
pointerdown, pointerup, gotpointercapture and lostpointercapture events.

Bug: 851457
Change-Id: Iff45a897a87ef03d73cc308d84e874dbc1310fa1
Commit-Queue: Lan Wei <>
Reviewed-by: Sadrul Chowdhury <>
Reviewed-by: Dave Tapuska <>
Reviewed-by: Navid Zolghadr <>
Cr-Commit-Position: refs/heads/master@{#575384}
5 files changed