commit | 726123f2232b90de7aae546a91e220614fb06bcb | [log] [tgz] |
---|---|---|
author | Jesse McKenna <jessemckenna@google.com> | Wed Apr 02 17:02:43 2025 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Wed Apr 02 17:02:43 2025 |
tree | 936c79ed8821b01d81e04469ce7df1700010f4a9 | |
parent | e56a1fbac0064ca7efb1acff263d8c6410a29f9f [diff] |
pdf-default: enable opening settings dialog This change adds shell_util::ShowSetDefaultForFileExtensionSystemUI, which opens the Windows settings pop-up that allows the user to select a default app for a specified file extension. It also adds LaunchDefaultAppForFileExtensionSettings, which does the actual work of opening the pop-up. It separates some logic from existing methods in shell_util that the new code uses. It also moves some of that logic to default_apps_util.h, because it seems to fit (all four methods open Windows settings dialogs). Bug: 396202897 Change-Id: I1b73e13ad4fd8bbc9037f4f06d73bef6af87bb57 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/6330881 Reviewed-by: David Bienvenu <davidbienvenu@chromium.org> Reviewed-by: Robert Kaplow <rkaplow@chromium.org> Commit-Queue: Jesse McKenna <jessemckenna@google.com> Reviewed-by: Greg Thompson <grt@chromium.org> Cr-Commit-Position: refs/heads/main@{#1441563}
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.