DescriptionFix pressing enter key crashes overview mode without a
selection.
This change adds a check before trying to select
the window with the enter key that verifies that the
selection is active. If it is not, pressing it has no
effect.
BUG=381811
TEST=WindowSelectorTest.SelectWindowWithReturnKey
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=275604
Patch Set 1 #Patch Set 2 : Added unittest #
Total comments: 12
Patch Set 3 : Fixed Terry's comments and changed SetHandled for StopPropagation so that the event is not propagat… #Patch Set 4 : Fixed Rob's comments, test failing. #Messages
Total messages: 9 (0 generated)
|