Focus inline reply field on button click.
In NotificationViewMD, the inline reply field will be shown when a configured button in a notification is clicked. The intended behavior is to focus on inline reply after the button is clicked, but RequestFocus was called before SetVisible(true), which is no-op. You can test the feature by enabling chrome://flags/#enable-experimental-web-platform-features then https://tests.peter.sh/notification-generator/ -> Actions -> "One action (type text)" -> Display the notification. TEST=NotificationViewMDTest.TestInlineReply BUG=845189 Change-Id: I1f5d80ad1ab20b7061621fdc6ab8745c7c4ecfea Reviewed-on: https://chromium-review.googlesource.com/1068529 Commit-Queue: Tetsui Ohkubo <tetsui@chromium.org> Reviewed-by:Yoshiki Iguchi <yoshiki@chromium.org> Cr-Commit-Position: refs/heads/master@{#560919}
Showing
Please register or sign in to comment