0
Go to file
Vincent Chiang 927f5352ae Make sure EndDrag is called
Created a new ScopedClosureRunner in the beginning of the Drop process
that does the following at function return:

1. Flip the `drag_in_progress_` bit.
2. Run any existing `end_drag_runner_`.

This makes sure that the `drag_in_progress_` bit is flipped even if
the function returns early, signaling EndDrag to run immediately. This
also makes sure the bit is flipped *after* the async
GetVirtualFilesAsTempFiles, making use of the `end_drag_runner_`.

(cherry picked from commit 33fd5bb318)

Bug: b:399044195, b:391019233
Change-Id: Ib4e625fb9edc82bfd5235fcb9443308f7928711d
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6354726
Reviewed-by: Achuith Bhandarkar <achuith@chromium.org>
Reviewed-by: Alex Moshchuk <alexmos@chromium.org>
Reviewed-by: Nancy Xiao <nancylanxiao@google.com>
Reviewed-by: Xiyuan Xia <xiyuan@chromium.org>
Commit-Queue: Vincent Chiang <vincentchiang@chromium.org>
Cr-Original-Commit-Position: refs/heads/main@{#1433727}
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6369545
Bot-Commit: Rubber Stamper <rubber-stamper@appspot.gserviceaccount.com>
Cr-Commit-Position: refs/branch-heads/7049@{#947}
Cr-Branched-From: 2dab7846d0951a552bdc4f350dad497f986e6fed-refs/heads/main@{#1427262}
2025-03-18 15:30:24 -07:00
2025-03-03 06:52:16 -08:00
2025-03-18 14:48:05 -07:00
2025-03-18 15:30:24 -07:00
2025-02-24 12:44:08 -08:00
2025-02-25 08:53:07 -08:00
2025-03-14 09:33:37 -07:00
2025-03-18 13:32:14 -07:00

Logo Chromium

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.

Description
Chromium是一个开源浏览器项目,提供了一种安全、快速、稳定的方法来体验Web。该浏览器可以在多个平台上下载,包括Mac、Windows、Linux和ChromiumOS。项目原始地址: https://chromium.googlesource.com/chromium/src.git
https://www.mobibrw.com/gitea-mirrors/chromium/src.git
Readme BSD-3-Clause 89 GiB
Languages
C++ 74.4%
Java 8.2%
Objective-C++ 4.6%
TypeScript 4%
Python 2.5%
Other 6.1%