• Chris Lu's avatar
    [ios] Add BadgeState to BadgeItem · 13d15a6d
    Chris Lu authored
    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: default avatarSergio Collazos <sczs@chromium.org>
    Reviewed-by: default avatarPeter Lee <pkl@chromium.org>
    Cr-Commit-Position: refs/heads/master@{#699812}
    13d15a6d
badge_static_item.mm 1.01 KB