Call OnFirstResponderChanged to simulate the View having focus.
Moving MouseLock emulation into the browser found that the RenderWidgetHostViewMac::HasFocus always returned false for WebTests. It is reasonable to simulate the view having focus in WebTests so call OnFirstResponderChanged appropriately. BUG=1097816 Change-Id: Id0a87cea174ac308bf73103a90fff678b30d429e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2459568Reviewed-by:danakj <danakj@chromium.org> Commit-Queue: Dave Tapuska <dtapuska@chromium.org> Cr-Commit-Position: refs/heads/master@{#814913}
Showing
Please register or sign in to comment