commit | bb7b6c39d5b995bc20525bae64d595aabc03d83c | [log] [tgz] |
---|---|---|
author | Sammie Quon <sammiequon@chromium.org> | Wed Mar 30 22:39:51 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Mar 30 22:39:51 2022 |
tree | 1b6805ca58507f23056bfadec839841d0ae6eeb1 | |
parent | ef76e1f61b6c12e0228a0c5cafc8a4b881ad37e7 [diff] |
desk_templates: MRU order isn't being restored properly. This CL fixes a couple things. First, overview items are appended to the back. This CL pipes a new function to make use of the existing function which adds items based on MRU order. Second, single instance apps do not affect the MRU order. This CL shuffles some things around so that both new windows from window restore and existing windows that are shifted from window restore use the same logic. And lastly, need to update active_window_before_overview_, which can persist if there is an existing app instance that gets moved over. Does some clean up in mru_window_tracker. Test: updated existing browser test Bug: 1281393 Change-Id: I7a0b3b15ef0791227f11bcbd9a1af78660b5a001 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3556678 Reviewed-by: Daniel Andersson <dandersson@chromium.org> Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Sammie Quon <sammiequon@chromium.org> Cr-Commit-Position: refs/heads/main@{#987227}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.