Commit 337a6a2b authored by Jenny Zhang's avatar Jenny Zhang Committed by Commit Bot

Add unpin/pin context menu for Lacros Chrome.

Bug: 1103012
Change-Id: I97894b8246edaddb610c1887954e0e7822258f05
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2307616
Commit-Queue: Jenny Zhang <jennyz@chromium.org>
Reviewed-by: default avatarJames Cook <jamescook@chromium.org>
Cr-Commit-Position: refs/heads/master@{#790161}
parent 7494a479
......@@ -529,9 +529,16 @@ bool AppServiceShelfContextMenu::ShouldAddPinMenu() {
FALLTHROUGH;
case apps::mojom::AppType::kExtension:
FALLTHROUGH;
case apps::mojom::AppType::kLacros:
FALLTHROUGH;
case apps::mojom::AppType::kWeb:
return true;
case apps::mojom::AppType::kUnknown:
FALLTHROUGH;
case apps::mojom::AppType::kMacNative:
return false;
default:
NOTREACHED() << "All AppType must decide if pin menu should be added.";
return false;
}
}
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment