commit | 1af29ca860a66ed8107ccf95bd8e5467ddfe2175 | [log] [tgz] |
---|---|---|
author | Sophie Wen <sophiewen@google.com> | Sat Nov 09 00:42:06 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Sat Nov 09 00:42:06 2024 |
tree | b8cffd6c7b8670e115623546aaa9cd939fd36592 | |
parent | 6e2774335c05e97d76bc376200ad6c518cbe3c50 [diff] |
sunfish: Only hide panel on mouse drag This CL fixes an issue where pressing the close button could set the panel opacity to 0.f, making it invisible to the user, but the panel would still consume events. This fixes the issue by: - Move `search_results_panel_widget` out of `MaybeUpdateCaptureUisOpacity()` - Delay hiding the panel until `OnLocatedEventDragged()` Bug: b:378113078 Test: added, verified it fails w/o fix in Patchset 1 Change-Id: I48387e49aac2827e706e3bde9e2688a33b1e289e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6002297 Reviewed-by: Ahmed Fakhry <afakhry@chromium.org> Commit-Queue: Sophie Wen <sophiewen@chromium.org> Cr-Commit-Position: refs/heads/main@{#1380731}
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.