DescriptionEnsure that the AURA focused window is set correctly when the window is activated.
Currently this only works if the window is activated with the mouse. If we Alt Tab to the window then
the focus window is not restored in AURA. The view is correctly focused though.
Fixes as below:-
1. Added a new function HandleActivationChanged to the DesktopNativeWidgetAura class. This is invoked from
the DesktopRootWindowHostWin::HandleActivationChanged and DesktopRootWindowHostX11::HandleNativeWidgetActivationChanged
functions.
2. Most of the common code in those functions now lives in the DesktopNativeWidgetAura::HandleActivationChanged function.
This includes deactivating the window in the aura activation client and now additionally activating the window when
we are being activated.
Added an interactive ui test DesktopNativeWidgetAuraActivationAndFocusTest for Windows AURA.
BUG=278000
TEST=Interactive ui test DesktopNativeWidgetAuraActivationAndFocusTest
R=sky@chromium.org
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=221225
Patch Set 1 #
Total comments: 4
Patch Set 2 : #Patch Set 3 : #Patch Set 4 : #
Total comments: 2
Patch Set 5 : #Patch Set 6 : #Patch Set 7 : #
Messages
Total messages: 12 (0 generated)
|