[ios] Check if badge should be marked accepted before calling delegate
The translate badge should not be marked as accepted until the translate has finished, not immediately when the action button in the banner is tapped. A InfobarCoordinatorImplementation method isInfobarAccepted will allow specific Infobars to decide whether to call infobarWasAccepted: when the button is tapped. Bug: 1014959 Change-Id: I544395077845dd89c9909afe38a11801df5fbf40 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1872759 Commit-Queue: Chris Lu <thegreenfrog@chromium.org> Reviewed-by:Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#708904}
Showing
Please register or sign in to comment