DescriptionDo not send some keyboard shortcuts to the renderers
Walking the whole menu on every keypress seems ridiculous. Linux does this too :-/ (Caching is made hard because the user can change key equivalents in system preferences at every point in time, and we're not notified of that. And people only hit max 5 keys/second, so it's not all that ridiculous).
There's a UI test for this, but the interactive UI tests are not enabled on OS X, so it's not executed.
Menu walking code based on code from CocoatechCore.
BUG=5496, 15090, 24877
TEST=Go to http://unixpapa.com/js/testkey.html , check "keydown", focus the textbox, and make sure that cmd-t still opens tabs, cmd-shift-[ still switches tabs, cmd-w still closes tabs. however, cmd-L should not focus url bar and cmd-1 should not go to the first tab.
Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=30032
Patch Set 1 #Patch Set 2 : x #Patch Set 3 : cleanup #Patch Set 4 : use cr_firesForEvent #Patch Set 5 : cleanup #
Messages
Total messages: 12 (0 generated)
|