[ios] Configures Save CreditCard InfobarBanner.
- Configures the CreditCard Banner for presentation. - Implements Banner related methods like performInfobarAction and dismissBannerWhenInteractionIsFinished. - On InfobarCoordinator detachView (which is called when the Infobar view needs to be removed) we only dismiss the VC if they have been created. This is needed since now a CreditCard InfobarBanner can be created while other one is being presented, since replace is not supported it will discard the new Infobar, thus calling detachView in an Infobar that was never presented. Screenshot: https://drive.google.com/open?id=1bmPWLDNIEsJYORx8YfOs82wsYUKdoXcN Bug: 1014652 Change-Id: Icd50ed542743054b38924fba668c42f38dbcc7f6 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1865445Reviewed-by:Peter Lee <pkl@chromium.org> Commit-Queue: Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#707129}
Showing
Please register or sign in to comment