Reland "Re-focus View on tab strip close"
This is a reland of 26ae2ec0 The original CL was reverted due to the test uncovering existing bug 1029086. This reland includes the fix for the uninitialized read. Original change's description: > Re-focus View on tab strip close > > When the WebUI tab strip's WebContents gains focus, the focused > TextInputClient changes while the focused View does not. This causes > text input to stop working in the omnibox despite it having Views-focus. > > This blurs and re-focuses the currently focused View. For the Omnibox, > this makes it re-install itself as the focused TextInputClient. > > This is a workaround and should be removed once bug 994350 is fixed. > > Bug: 1027375, 994350 > Change-Id: I2be055110535dc6164a7d31a64a3cf503fae7a7b > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1935729 > Reviewed-by: Dana Fried <dfried@chromium.org> > Commit-Queue: Dana Fried <dfried@chromium.org> > Cr-Commit-Position: refs/heads/master@{#719473} Bug: 1027375, 994350, 1029086 Change-Id: I7f12945c9df64190df2d3d30726acd38d3457834 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1940869Reviewed-by:Dana Fried <dfried@chromium.org> Commit-Queue: Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/master@{#719774}
Showing
Please register or sign in to comment