[Live Caption] Ensure widget can only be activated when it is visible.
This fixes a bug on Windows in which switching to a new tab via a keyboard shortcut did not focus the tab. Instead, the CaptionBubble was focused by the FocusManager. This caused keyboard shortcuts, such as Ctrl+W, to not work. This occurred even if the CaptionBubble was not not visible. Bug: 1055150, 1123635 Change-Id: I614715f75f1ff36fb336ae13ca3a53178413ca8d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2482005 Commit-Queue: Abigail Klein <abigailbklein@google.com> Reviewed-by:Peter Boström <pbos@chromium.org> Reviewed-by:
Dominic Mazzoni <dmazzoni@chromium.org> Cr-Commit-Position: refs/heads/master@{#823622}
Showing
Please register or sign in to comment