DescriptionMakes permission bubble properly handle browser-type keyboard events.
Specifically, subclasses InfoBubbleWindow with the sole purpose of catching
calls to -performKeyEquivalent: and forward them to the parent window.
Longer explanation:
The base implementation of -performKeyEquivalent:, found in
ChromeEventProcessingWindow, attempts to hand browser key events off to
the window’s responder or delegate. The InfoBubbleWindow's responder and
delegate do not implement the correct protocols to handle the events, and so
the events are not completed.
This subclasses -performKeyEquivalent: to send the events to the parent
window, which, if it is a browser window, will have the correct responder and
thus handle the events.
BUG=367206
Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=267996
Patch Set 1 #
Total comments: 2
Patch Set 2 : using browser event utils #Messages
Total messages: 7 (0 generated)
|