| commit | 13a3ed02bf40dc652783a676f62dc8e8e65f06b9 | [log] [tgz] |
|---|---|---|
| author | Asami Doi <asamidoi@chromium.org> | Thu Jul 06 10:45:16 2023 |
| committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 06 10:45:16 2023 |
| tree | 466a1b4a460f38a373117513244a1eb310d3d487 | |
| parent | c0c9ce8c4a7e45b22b2b546bf84e4e52384c0212 [diff] |
[ios] Trigger only one event when the pinned state is updated and moved There are 2 cases for updating the pinned state. Case 1: Just updating the pinned state and the layout of WebStateList isn't changed. In this case, WebStateListDidChange API with kSelectionOnly is triggered and `pinned_state_change` is true. Case 2: Updating the pinned state and moving a WebState as well. In this case, WebStateListDidChange API with kMove is triggered and `pinned_state_change` is true. Bug: 1442546 Change-Id: Iedd6b69a1e84b5b303d1c79d802bab9b7ff969f2 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4651205 Reviewed-by: Sylvain Defresne <sdefresne@chromium.org> Reviewed-by: Federica Germinario <fedegermi@google.com> Commit-Queue: Asami Doi <asamidoi@chromium.org> Cr-Commit-Position: refs/heads/main@{#1166434}
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.