Chromium Code Reviews
DescriptionModify ui_controls::SendKeyPressNotifyWhenDone to use [NSApp postEvent: atStart:].
Currently, in ui_controls_mac.mm, [NSApp postEvent: atStart:] is used to
dispatch events, except in SendKeyPressNotifyWhenDone, where [NSApp sendEvent:]
is used. The reason to use [NSApp sendEvent:] was the failure of
BrowserKeyEventsTest.CommandKeyEvents which has since been disabled
(crbug.com/81451). This CL modifies SendKeyPressNotifyWhenDone to use
[NSApp postEvent: atStart:] instead. This is required since events sent using
[NSApp sendEvent:] are not added to the event queue, hence the correct event is
not reported by [NSApp currentEvent].
BUG=607429, 617110
Patch Set 1 #
Dependent Patchsets: Messages
Total messages: 9 (3 generated)
|
|||||||||||||||||||