Add IsCommandIdEnabled function for AppServiceContextMenu.
Check whether extensions::ContextMenuMatcher commands are enabled in AppServiceContextMenu, which is the current implementation: https://cs.chromium.org/chromium/src/chrome/browser/ui/app_list/extension_app_context_menu.cc?l=167 Also update set LaunchType command to add SetAppUserDisplayMode function for Web apps when kDesktopPWAsWithoutExtensions is enabled: https://cs.chromium.org/chromium/src/chrome/browser/ui/app_list/web_app_context_menu.cc?l=131 BUG=1038487 Change-Id: Ib8e6582313938dca6291aabbc872a094e4a994bc Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2025010Reviewed-by:Xiyuan Xia <xiyuan@chromium.org> Commit-Queue: Nancy Wang <nancylingwang@chromium.org> Cr-Commit-Position: refs/heads/master@{#736079}
Showing
Please register or sign in to comment