Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Revert "saved_desks: Handle blocking modal dialogs when saving a desk…
… for later." This reverts commit fbb5861. Reason for revert: Browsertests are failing, e.g., https://ci.chromium.org/ui/p/chromium/builders/ci/linux-chromeos-rel/58697/overview Original change's description: > saved_desks: Handle blocking modal dialogs when saving a desk for later. > > This CL makes a fairly substantial change to the way windows and desks > are handled when the user saves a desk for later (Save & Recall). > > Previously, we would use some of the functionality from CloseAll to > remove the desk and its windows after the desk definition had been > saved. The logic there was synchronous and, while simple, did not handle > blocking dialogs gracefully. > > With this change, we will now start a watcher that monitors the windows > that are to be closed and also detects modal dialogs. The goal is to > allow the user to deal with these dialogs that may appear. If the user > elects to close the window(s), they will be taken to the saved desk > library and the newly created saved desk is focused. If they decide to > leave windows open, then the watcher terminates itself and the user is > left on the desk. > > If there are no windows that show blocking dialogs, the flow should be > the same as before this CL. > > Tested: Manually and with browser tests. > > Bug: 1334926 > Change-Id: I79707b63a0ab2874b2430821dd9b9158998a3b90 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3806033 > Reviewed-by: Sammie Quon <sammiequon@chromium.org> > Commit-Queue: Daniel Andersson <dandersson@chromium.org> > Reviewed-by: Richard Chui <richui@chromium.org> > Cr-Commit-Position: refs/heads/main@{#1033619} Bug: 1334926 Change-Id: I9df83e02745152950fd5cd2cc823ad59837ed40d No-Presubmit: true No-Tree-Checks: true No-Try: true Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3823731 Reviewed-by: Tommy Martino <tmartino@chromium.org> Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com> Auto-Submit: Tommy Martino <tmartino@chromium.org> Owners-Override: Tommy Martino <tmartino@chromium.org> Commit-Queue: Tommy Martino <tmartino@chromium.org> Cr-Commit-Position: refs/heads/main@{#1033708}
- Loading branch information
Tommy Martino
authored and
Chromium LUCI CQ
committed
Aug 10, 2022
1 parent
f4c25aa
commit 914a4c5
Showing
11 changed files
with
28 additions
and
407 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
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.