settings: Fix focus rings appearing on window blur
FocusOutlineManager considered the document "focused by keyboard" after window blur. This seems a little odd, and causes the OS settings sidenav menu to show the keyboard focus ring on window blur. This FocusOutlineManager behavior was added in 2015, before MD settings. We don't appear to need it anymore. It was added in: https://codereview.chromium.org/914033002 and the bug it fixed crbug.com/457165 no longer repros, even after I remove the behavior. Likewise, browser settings sidenav focus outlines continue to work properly after removing this behavior (they show after hitting tab, hide when the window loses focus, and come back when the window regains focus). So let's remove the behavior. Bug: 993677 Change-Id: If9c56ad18d50d0974cf957864c6346ebdffd0470 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1754505Reviewed-by:Dan Beam <dbeam@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#687324}
Showing
Please register or sign in to comment