[iOS] Add UI support for infobar banner overlays.
InfobarBannerOverlayCoordinator is a coordinator that will be shared amongst all infobar banners. InfobarBannerOverlayMediator is a superclass that implements behavior shared amongst all InfobarTypes, such as setting the consumer, dispatching responses for user interaction events, and setting up the overlay completion response. This CL also introduces the response infos necessary for banners: - InfobarBannerConfirmButtonTapped is dispatched to notify the model layer that the main button on a confirm infobar banner was tapped. - InfobarBannerModalButtonTapped is dispatched to notify the model layer that the modal button was tapped. - InfobarBannerCompletion is used a completion response and stores whether the dismissal was user-initiated. Bug: 1030357 Change-Id: Icb19d2a7322fd6c765c19812c02d46dcba07b97c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1986449 Commit-Queue: Kurt Horimoto <kkhorimoto@chromium.org> Reviewed-by:Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#728584}
Showing
Please register or sign in to comment