DescriptionHonor can_activate flag in ShowWindowWithState
In HWNDMessageHandler::ShowWindowWitState(), when ui::SHOW_STATE_DEFAULT
is passed as state, the window grabs activation after being shown. The
correct behavior would be to activate the widget if and only if the
can_activate flag is set. HWNDMessageHandler::Show() method already does
this since r244605.
Also, the DefaultWidgetDelegate should honor InitParams::can_activate
flag.
BUG=340736
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=271102
Patch Set 1 : #Patch Set 2 : Added widget interactive test #Patch Set 3 : Added touch selection interactive test #Patch Set 4 : Rebased #
Total comments: 10
Patch Set 5 : Merged after r270597 and applied review comments #
Total comments: 4
Patch Set 6 : More review comments #
Messages
Total messages: 12 (0 generated)
|