[ios] Adds support for a high priority Infobar presentation.
Some ConfirmInfobars like Restore tabs are important enough that we don't want some users to miss them. Either because they are not presented because some other Infobar is being presented, or because they time out before the user has seen it. This CL adds a BOOL flag to InfobarCoordinator, which InfobarContainerCoordinator will use in order to add that Infobar's banner to the top of the queue and display it for a bit longer. I didn't want to create a more granular system since this might be temporary until we migrate some of these Infobars to alerts or something similar, and its also not currently needed. Bug: 961343 Change-Id: Icf03748ec50b63bd9c99ead96ccae5c7fc644b0c Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1828237Reviewed-by:Peter Lee <pkl@chromium.org> Reviewed-by:
Chris Lu <thegreenfrog@chromium.org> Commit-Queue: Sergio Collazos <sczs@chromium.org> Cr-Commit-Position: refs/heads/master@{#701261}
Showing
This diff is collapsed.
Please register or sign in to comment