commit | ba9d4db90c06bf0085c4a0490caf5a757029e0c7 | [log] [tgz] |
---|---|---|
author | Takashi Toyoshima <toyoshim@chromium.org> | Tue Mar 19 02:41:42 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Tue Mar 19 02:41:42 2024 |
tree | eaf897acdbf73d985f139d517c44330fd0b8f9a2 | |
parent | 70567d725227cfd99bedd86f0a6a54a06afa40e6 [diff] |
LinkPreview: Stop specifying floating window and capturing This patch changes to override OnNativeBlur() to close the preview tab, and also changes to use AuditWebInputEvent() to hook up mouse events to trigger a tab promotion. OnNativeBlur() is also called before the mouse down event unfortunately. So, the closing tab is executed asynchronously so that if a mouse down event follows synchronously, we do the tab promotion before executing the asynchronous tab closure. Change-Id: I642b5a03b7d1e7f164ba24af8491d3ad99aa49ca Bug: b/305007647, b/41485769 Fixed: b/41485769 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5364174 Commit-Queue: Takashi Toyoshima <toyoshim@chromium.org> Reviewed-by: Scott Violet <sky@chromium.org> Reviewed-by: Kouhei Ueno <kouhei@chromium.org> Cr-Commit-Position: refs/heads/main@{#1274660}
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.