[ios] Add BadgeState to BadgeItem
This replaces accepted state properties in badges with a new BadgeState enum. This will allow for more states to be added that help the UI to handle more complex arrangements such as temporarily showing a badge whose banner is presenting when there are multiple badges. When BadgeItems are initialized, they will take a BadgeStateNone state for now. It will likely change as more states are added. Bug: 976901 Change-Id: I0eb0755cbf4fd41cd883aecc10a767d781af70d7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1810766 Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Reviewed-by:Sergio Collazos <sczs@chromium.org> Reviewed-by:
Peter Lee <pkl@chromium.org> Cr-Commit-Position: refs/heads/master@{#699812}
Showing
Please register or sign in to comment