[chromecast] Enable element focus for WebContentController
Focus did not work due to two distinct problems, both of which caused page-level focus to be absent, which in turn meant that blink-level focus was suppressed. - The aura::Window on which focus was attempted does not have an OnWindowFocused observer. This change focuses the Window that does. - Wayland app's aura::Windows are not visible. This change adds a check for an ancestor that is an exo window. Bug: b/156123509 Test: manual on device Change-Id: Ib4e8a5101bbc28d2b7a0448aff8142c8cffa2a76 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2274201Reviewed-by:Daniele Castagna <dcastagna@chromium.org> Reviewed-by:
Daniel Nicoara <dnicoara@chromium.org> Reviewed-by:
Albert Chaulk <achaulk@chromium.org> Commit-Queue: Kevin Schoedel <kpschoedel@chromium.org> Cr-Commit-Position: refs/heads/master@{#786469}
Showing
Please register or sign in to comment