commit | 667d19044b26985f2d2be33a5571dd7f89463387 | [log] [tgz] |
---|---|---|
author | Daniel Cheng <dcheng@chromium.org> | Fri Dec 01 23:16:32 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 01 23:16:32 2023 |
tree | ee133911f9accf95a63a6256ed4bff51d30648a7 | |
parent | 3e2bcbe2eb29beaa649a932a8bce62ace9c1e135 [diff] |
Use a repeating callback for AppStreamLauncherItem's pressed callback. PressedCallback will become move-only when it supports OnceCallbacks. Since AppStreamLauncherItem wants to use the same callback for the button and label, and it doesn't care about the `ui::Event`, just pass a RepeatingClosure through to be shared instead. Bug: 1326449 Change-Id: Ic019752bf19047eddd1145378b13f89b1128e920 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5078790 Reviewed-by: Pu Shi <pushi@google.com> Commit-Queue: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/main@{#1232238}
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.