Chromium Code Reviews
Descriptionaura: Fix focus on web contents for popup windows
On Aura when the BrowserView attempts to set focus during its
setup it is blocked because this parent BrowserFrameAura isn't yet visible.
This means the RenderWidgetHostViewAura doesn't gain focus, so JavaScript
calls to element.focus() don't result in being able to type into a field.
This was affecting chat apps that open popups for chat sessions. Fixed by
calling BrowserView::RestoreFocus() when the browser's window becomes
visible.
BUG=144342
TEST=existing focus tests, sample pages in bug, manual exercise of focus in location bar and web page during window creation and show/hide during minimize/restore
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=155791
Patch Set 1 #Patch Set 2 : . #Patch Set 3 : don't need check for initial show #
Messages
Total messages: 4 (0 generated)
|
||||||||||||||||||||||||||||