commit | 608075fcfefdd8670ddff8c63ebdc7239a54dad4 | [log] [tgz] |
---|---|---|
author | Patrick Monette <pmonette@chromium.org> | Wed Oct 04 02:54:43 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Oct 04 02:54:43 2023 |
tree | b907d1df71291fad42cf1d9e0aaf0639b058b15e | |
parent | 85ba1acd743b4c55fc3681f685e8a01d6530b8ac [diff] |
[Win] Ensure the file picker gets closed when its owner window is closed This change is a fix to a UX issue that can happen in rare circumstances where the owner of the file picker dialog can be closed while the dialog itself stays open. In normal operation, this doesn't happen because the owner window is disabled. While disabled, the user can't click anything on the window, including the X button on the top right. But programmatically, it is possible. For example, another program can send WM_CLOSE to the owner window, leaving the dialog open. With this change, we detect such situations and close the dialog. Change-Id: Ibd692f59b2b000b4706de5677a89d0ed00923595 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4873762 Commit-Queue: Patrick Monette <pmonette@chromium.org> Reviewed-by: Robert Liao <robliao@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Sorin Jianu <sorin@chromium.org> Cr-Commit-Position: refs/heads/main@{#1205013}
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.