commit | de1b5611e92bf4970797b090f33b198b2a8e7949 | [log] [tgz] |
---|---|---|
author | mlcui <mlcui@google.com> | Mon Aug 19 04:46:59 2024 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Mon Aug 19 04:46:59 2024 |
tree | 4fc0c10bf568e8a35219f6c6198f4929aeac63ac | |
parent | 682e7fcd2032eaca2ce86ef282c0daecc838146a [diff] |
Refactor clipboard data icon determination to helper function This cleans up the switch in `CreateItemFromResult`, and will allow us to use `chromeos::GetIconForPath` for files more easily in the future. Bug: b:360254970 Change-Id: I6a6a210037b2b4d379d7ed078545af3cce85e9b0 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5790120 Reviewed-by: Darren Shen <shend@chromium.org> Commit-Queue: Michael Cui <mlcui@google.com> Cr-Commit-Position: refs/heads/main@{#1343329}
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.