commit | af1ec7be35f54c6a93c3cdb424b584a474626804 | [log] [tgz] |
---|---|---|
author | Erik Chen <erikchen@chromium.org> | Sun Dec 01 22:58:43 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sun Dec 01 22:58:43 2024 |
tree | 3e872307c293cd934b227896cc22bc4ae579f8f6 | |
parent | 1e0b9b750338c42e5cda2569de65491a60e3a0d9 [diff] |
Simplify FedCmAccountSelectionView (part 15/N) This CL simplifies OnDismiss() delegate notification. Prior to this CL, whether the delegate was notified on widget close was determined by a class member. This member is set and unset in several places, making it prone to error. This CL makes every callsite to CloseWidget specify whether it wants to notify the delegate. This CL separates the code paths for popup closing, as the logic for user closes the popup vs popup is programmatically closed is different. This CL updates unit tests to exercise more production logic. Change-Id: I783fc15ac5a171f86e5fe6dcf2e18a6b0849dd39 Bug: 377803489 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6049524 Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Reviewed-by: Nicolás Peña <npm@chromium.org> Commit-Queue: Erik Chen <erikchen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1390130}
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.