Make captured mouse pointer event route correctly on oopif
Before this change, we do not capture mouse events to widget when set/release pointer capture. It causes a bug that when mouse down on main frame and set pointer capture, mouse still not capture to the main frame widget because we neither set widget capture on main frame mouse down nor set widget capture on pointer capture set. This CL makes PEM::SetPointerCapture and ReleasePointerCapture returns a boolean to shows whether pointer capture is changed, and we change widget capture accordingly. Change-Id: I1d571659237c81f8575d4556d725c22c8c2b862f Bug: 936190, 919908 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1446500 Commit-Queue: David Bokan <bokan@chromium.org> Reviewed-by:Avi Drissman <avi@chromium.org> Reviewed-by:
David Bokan <bokan@chromium.org> Reviewed-by:
Navid Zolghadr <nzolghadr@chromium.org> Reviewed-by:
Mustaq Ahmed <mustaq@chromium.org> Cr-Commit-Position: refs/heads/master@{#638619}
Showing
Please register or sign in to comment