Chromium Code Reviews
DescriptionPass BS/Return Key Events to EditBox in Custom Notification
Previously, BS and return key events were consumed by the message center and the custom contents couldn't receive them.
This patch adds a check if the current input mode is none or not. If the type is not none (it means the focus is on edit box), we don't handle BS/Return key events and pass them to the custom notification content.
BUG=679664
TEST=manually (BS and Return keys work on custom notification)
Review-Url: https://codereview.chromium.org/2670213002
Cr-Commit-Position: refs/heads/master@{#447954}
Committed: https://chromium.googlesource.com/chromium/src/+/8f2d158964de19b39244ecf483be0b156cb38224
Patch Set 1 #Patch Set 2 : Add null check #Patch Set 3 : Added tests #
Messages
Total messages: 27 (22 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||