[ios] Add displayBadge: and animated: method parameter to InfoBarBadgeButton

- displayBadge: method allows for showing and hiding the badge
- Adds animated: param to other methods to follow proper convention.

Bug: 954624
Change-Id: I0702f841478ff7a9a2b4ab68ff1b15b475388519
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1584379
Commit-Queue: Chris Lu <thegreenfrog@chromium.org>
Reviewed-by: Sergio Collazos <sczs@chromium.org>
Cr-Commit-Position: refs/heads/master@{#654165}
2 files changed