Do not send pointer events tagged with kRelativeMotionEvent to the DOM
Sometimes, the Browser process tags events with kRelativeMotionEvent. For e.g. during pointer lock, it recenters cursor by warping so that cursor does not hit the screen boundary. In such a case the renderer is only supposed to update it's co-ordinates and not send these fake events to the DOM. This patch correctly suppresses pointerrawupdate events tagged with kRelativeMotionEvent from getting forwarded to the DOM. Bug: 1066544 Bug: 868660 Change-Id: Ib0a7337e3535a9719182bb1153038af11b6e9742 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2217928Reviewed-by:Navid Zolghadr <nzolghadr@chromium.org> Reviewed-by:
David Bokan <bokan@chromium.org> Reviewed-by:
Mustaq Ahmed <mustaq@chromium.org> Reviewed-by:
Ella Ge <eirage@chromium.org> Reviewed-by:
Vincent Scheib <scheib@chromium.org> Commit-Queue: Mustaq Ahmed <mustaq@chromium.org> Cr-Commit-Position: refs/heads/master@{#772953}
Showing
Please register or sign in to comment