Chromium Code Reviews
DescriptionTransfer responsibility for providing a close button for a notification to each implementation of MessageView.
Because content of |CustomNotificationView| covers a close button
that is owned by |MessageView|, |CustomNotificationView| provides
their own close button. This causes inconsistent behavior of the
close buttons between normal notifications and custom notifications.
- Transfer the close button which is owned by |MessageView| to
|NotificationView|
- Introduce |CustomNotificationContentViewDelegate| class for
delegating handling of a close button to a content view hosted by
|CustomNotificationView|
BUG=661105
TEST=Manual test. The keyboard focus is moved to a close button of
a custom notification when the close button of the next
notification is focused and the next notification is removed.
Committed: https://crrev.com/a53dbe07cd6f4abd9ce526cc07c118518654a440
Cr-Commit-Position: refs/heads/master@{#436827}
Patch Set 1 #Patch Set 2 : Delete debug logs #
Total comments: 5
Patch Set 3 : address the review comments #
Total comments: 13
Patch Set 4 : address the comments #
Total comments: 2
Patch Set 5 : rebase #Patch Set 6 : WrapUnique -> MakeUnique #Messages
Total messages: 30 (15 generated)
|