Descriptionaura: Make RootWindow::DispatchKeyEvent drop unknown keys.
On Chrome OS, Aura receives XF86PowerOff KeyPress and
KeyRelease events from X when the power button is pressed or
released. These are converted to VKEY_UNKNOWN and were
ending up as events with keyCode=0 and charCode=0 in the
renderer. This change makes us drop them before that
happens.
BUG=119407
TEST=added, also manual: onkeydown/onkeypress/onkeyup don't fire for the power button anymore but do for all other keys on the chrome os keyboard
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=128390
Patch Set 1 #
Messages
Total messages: 4 (0 generated)
|