-
Notifications
You must be signed in to change notification settings - Fork 6.6k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
[M112][DownloadBubble] Open partial bubble on completion of all downl…
…oads This changes the partial view to open only when all downloads whose state was DownloadItem::IN_PROGRESS* have completed**, and not when initiating a download. The animated icon is still shown on initiating a download. To explain caveats: * We exclude any IN_PROGRESS downloads that are dangerous, except for those which are dangerous and pending deep scanning. Downloads pending deep scanning are considered in-progress because we want the user to interact with them by initiating deep scanning. ** Completed means reached a quiescent state, either paused or pending deep scanning, or excluded for being dangerous, or actually completed (i.e. no longer IN_PROGRESS). In fullscreen mode, if the partial view would have been shown normally, instead it is shown when the user exits fullscreen mode. This also fixes a bug whereby the animation was shown in all browser windows, not just the currently active window. (cherry picked from commit 4937aa6) Bug: 1416926 Change-Id: I4a7939180658ebebe96b25cf6026574995ca1974 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4284377 Reviewed-by: Xinghui Lu <xinghuilu@chromium.org> Reviewed-by: Elly Fong-Jones <ellyjones@chromium.org> Commit-Queue: Lily Chen <chlily@chromium.org> Cr-Original-Commit-Position: refs/heads/main@{#1109316} Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4295919 Auto-Submit: Lily Chen <chlily@chromium.org> Commit-Queue: Xinghui Lu <xinghuilu@chromium.org> Cr-Commit-Position: refs/branch-heads/5615@{#34} Cr-Branched-From: 9c6408e-refs/heads/main@{#1109224}
- Loading branch information
Showing
8 changed files
with
303 additions
and
199 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.