DescriptionSend key equivalents to renderer first, sendEvent-based.
Idea by suzhe@.
See also http://codereview.chromium.org/242069 .
Known issues:
* Uses a different code path than Safari and Firefox.
(* Suppressing keypress() doesn't prevent default action (suppressing keydown() works though. Both Firefox and Safari prevent the default action when either is suppressed). This seems to be broken on linux and windows too, though – it seems to match IE8, but not Firefox or Safari. I guess this is the question for the web council.)
BUG=15090
TEST=Cmd-f now sucks when used on google docs.
Patch Set 1 #
Total comments: 1
Patch Set 2 : small fix #Patch Set 3 : speling #
Messages
Total messages: 2 (0 generated)
|