Revert "Desks: Fix MRU and stacking order of windows of removed desks"
This reverts commit 8d889479. Reason for revert: suspect causing ash_unittests failure on linux-chromeos-dbg - TabletModeDesksTest.DesksCreationRemovalCycle - TabletModeDesksTest.RemoveDeskWithMaximizedWindowAndMergeWithSnapped - TabletModeDesksTest.RemovingDesksWithSplitView Sample build: https://ci.chromium.org/p/chromium/builders/ci/linux-chromeos-dbg/17282 Sample log: https://logs.chromium.org/logs/chromium/buildbucket/cr-buildbucket.appspot.com/8887345963796360720/+/steps/ash_unittests/0/logs/Deterministic_failure:_TabletModeDesksTest.DesksCreationRemovalCycle__status_CRASH_/0 Original change's description: > Desks: Fix MRU and stacking order of windows of removed desks > > The windows of removed desks should be demoted to be LRU across > all desks. That's why they're appended at the end of the overview > grid list. However, their relative order should be maintained. > > This CL makes sure the MRU order is updated to match the above > expectation, as well as the windows' stacking order (that is > windows of the removed desk should be stacked at the bottom > of the target desk's container's children). > > BUG=1048271 > TEST=Expanded existing tests. > > Change-Id: I06bc69e068e3ffc29bccf7a5983ed6d56fc04830 > Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2073366 > Reviewed-by: James Cook <jamescook@chromium.org> > Commit-Queue: Ahmed Fakhry <afakhry@chromium.org> > Cr-Commit-Position: refs/heads/master@{#744856} TBR=jamescook@chromium.org,afakhry@chromium.org Change-Id: I28c5e412f0b7b44b6dfa8f5219f3eb7f514237cf No-Presubmit: true No-Tree-Checks: true No-Try: true Bug: 1048271 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2076040Reviewed-by:Takashi Sakamoto <tasak@google.com> Commit-Queue: Takashi Sakamoto <tasak@google.com> Cr-Commit-Position: refs/heads/master@{#744910}
Showing
Please register or sign in to comment