commit | 30901df8f50304752f40e9563ad148a27d9729bf | [log] [tgz] |
---|---|---|
author | Andrew Xu <andrewxu@chromium.org> | Mon Oct 11 16:37:39 2021 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Oct 11 16:37:39 2021 |
tree | 9fdbcba42116721f418e12dd1702d7bba165addd | |
parent | 54ba1aa03f133490c7dfa72af8906902e9395d86 [diff] |
[AppList Sync] Refactor on sync position ownership Currently both ChromeAppListModelUpdater and ash classes are able to modify sync positions (i.e. StringOrdinal positions that are synced among devices) so the ownership is unclear. The similar issues also happen on other app list item attributes. This CL creates a delegate class called `AppListModelDelegate` used for app list item update initiated from ash (such as changing an item's position during mouse drag). `AppListModelDelegate` relays the item update requests to the browser side. In this CL, `AppListModelDelegate` only contains the function related to item position. In the subsequent CLs, we should let `AppListModelDelegate` update other item attributes as well. Read the doc attached to the issue for further details. Bug: 1251205 Change-Id: Ib7bc4597f050426e777b9b01c9ef7f28d69e17c1 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3171260 Reviewed-by: Xiyuan Xia <xiyuan@chromium.org> Reviewed-by: Toni Barzic <tbarzic@chromium.org> Commit-Queue: Andrew Xu <andrewxu@chromium.org> Cr-Commit-Position: refs/heads/main@{#930175}
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.