[ios] Add blue dot to displayedBadge to indicate unread badges.
Whenever there are multiple non-fullscreen badges, a blue dot will show on the top right corner of the overflow badge if the menu has not been opened yet. Once it is opened, the blue dot will disappear. The dot reappears if a new badge is added. A new BadgeConsumer method markDisplayedBadgeAsRead() is added to allow for the mediator to tell the view controller when to hide/show the dot. Screenshot: https://drive.google.com/open?id=13TMm0r1mtm_tz55hiMWkr77R0rMEijPp Bug: 976901 Change-Id: I220cb865e117b19520c37cea2287757b46803df9 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1832157 Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Reviewed-by:Peter Lee <pkl@chromium.org> Reviewed-by:
Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#702047}
Showing
Please register or sign in to comment