commit | b4917b45510132b51f88bd885c02e0f7cec5be0e | [log] [tgz] |
---|---|---|
author | Xinghui Lu <xinghuilu@chromium.org> | Thu Jul 21 01:34:34 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Thu Jul 21 01:34:34 2022 |
tree | e3572af92d2ba743d22719d558d6bbb830b0dbdc | |
parent | 52ff0aa53acc18400655e6eb3796c7494ccf6d5f [diff] |
[DownloadBubble] Introduce downloads.setUiOptions extension API Introduce downloads.setUiOptions as a replacement of downloads.setShelfEnabled, since download UX is moving from shelf to a bubble. The initial implementation added in this CL is forked from DownloadsSetShelfEnabledFunction::Run(), so it only controls the download shelf. The support of download bubble will be added in a follow-up CL. This CL adds a new downloads.ui permission, which is required to use the new API. The new permission does not trigger a warning, same as in the old downloads.shelf permission. Bug: 1340400 Change-Id: Ia5e77ebf679875611da70f0384150469a7277b66 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3760432 Reviewed-by: Min Qin <qinmin@chromium.org> Commit-Queue: Xinghui Lu <xinghuilu@chromium.org> Reviewed-by: Mustafa Emre Acer <meacer@chromium.org> Reviewed-by: Istiaque Ahmed <lazyboy@chromium.org> Cr-Commit-Position: refs/heads/main@{#1026578}
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.