Fix the visibility of embedded assistant UI in tablet mode.
As commented in the code, page_view->RequestFocus() might cause ResetForShow(), which hides the embedded asssitant view, thus the assistant UI might go invisible in a weird situation. I hope I could find a holistic solution of controlling states within ContentsView, but so far this would be the simplest fix for the problem. Bug: b/140831868 Test: manually Change-Id: I9e1b551c2db448ff40c9f978130ce2a0225a4ebb Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1803958 Commit-Queue: Jun Mukai <mukai@chromium.org> Reviewed-by:Tao Wu <wutao@chromium.org> Reviewed-by:
Alex Newcomer <newcomer@chromium.org> Cr-Commit-Position: refs/heads/master@{#696597}
Showing
Please register or sign in to comment