Description[Linux Views] Refactor accelerator handler related code.
This CL removes the accelerator handling logic in
accelerator_handler_gtk.cc and implements a much simpler solution in
WidgetGtk. The new approach always sends a key event to the focused View
and native GtkWidget first and only sends it to the focus manager if it's not
handled by any View or native GtkWidget.
BUG=23383
AcceleratorHandler on Windows should not dispatch the KEYUP messages eaten by the FocusManager
BUG=40966
BrowserKeyEventsTest.AccessKeys is crashy
BUG=49701
[Linux Views]Some Emacs keybindings are broken in omnibox and find in page box.
TEST=Press Alt key in different place (web page, omnibox, find bar, etc.) to see if menu bar can be focused correctly. Press alt-F to popup wrench menu and Escape to close it, then try alt key again.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=54947
Patch Set 1 #Patch Set 2 : Fix compile issue. #Patch Set 3 : Fix windows build and AcceleratorHandlerGtkTest. #Patch Set 4 : Update comment. #Patch Set 5 : Prevent ctrl+alt. #
Total comments: 1
Messages
Total messages: 9 (0 generated)
|