WebUI Tab Strip: Separate keyboard and mouse focus
This CL moves away from listening on the generic window onfocus event and moves towards sending a custom WebUI event when the AccessiblePane receives focus. This resolves 2 main issues: (1) Visual focus indicators being visible on focus caused by touch. (2) The tab strip scrolls to the very first tab on tap because the first tab immediately becomes focused on window focus. Bug: 1017472 Change-Id: I8565b2e244a205791ba81eca23ba5a475c2f441c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1929447 Commit-Queue: John Lee <johntlee@chromium.org> Reviewed-by:Demetrios Papadopoulos <dpapad@chromium.org> Reviewed-by:
Collin Baker <collinbaker@chromium.org> Cr-Commit-Position: refs/heads/master@{#718769}
Showing
Please register or sign in to comment