DescriptionFix a mouse lock problem on Windows where in clicks outside the web page would also cause mouse lock to happen.
This fixes an issue with the mouse locking code on Windows where in if a page entered a mouse lock state and exited
it via the Esc key, subsequently clicking outside the page would cause the lock prompt to display again. This was because
RenderWidgetHostViewAura grabs capture on all platforms including Windows. On Windows the capture happens elsewhere in the
mouse handler. However when the mouse release comes in it is possible that we are already in the mouse locked state and
hence the capture is never released.
Fix is to release capture on all platforms.
BUG=526378
R=scheib
TBR=jam
Committed: https://crrev.com/c922b25f080de27ebe891adff689e9b56ffeaf12
Cr-Commit-Position: refs/heads/master@{#347122}
Patch Set 1 #
Depends on Patchset: Messages
Total messages: 17 (7 generated)
|