Download later: Make infobar attached to the current tab.
Currently if the user doesn't dismiss the infobar for scheduled download, and scheduled another download in another tab, the new infobar will show in the previous tab. Also, if the user switches to another tab and come back the tab that has shown the infobar, clicking on the "Change" button will show an error page. This CL fixed these 2 issues. If there is more than one scheduled downloads across multiple tabs during the lifetime of the infobar, "X downloads scheduled" should be shown as the infobar text. Bug: 1123924 Change-Id: Ib952c84ba5d6ad358c2d0b3d55238dc85e9ea313 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2391585Reviewed-by:Shakti Sahu <shaktisahu@chromium.org> Reviewed-by:
David Trainor <dtrainor@chromium.org> Commit-Queue: Xing Liu <xingliu@chromium.org> Cr-Commit-Position: refs/heads/master@{#804443}
Showing
Please register or sign in to comment