crostini: remove irrelevant items from terminal's tab menu
Some of the default tab menu items (e.g. reload, move to existing window) does not make sense or work well with the terminal SWA, so we want to remove them. This CL adds GetTabMenuModelFactory() to AppBrowserController to allow an app to specify the tab menu model that it wants. Before screenshot: https://bugs.chromium.org/p/chromium/issues/attachment?aid=438083&signed_aid=ucqPxHzsGWc98617EvvGUQ==&inline=1 After Screenshot: https://bugs.chromium.org/p/chromium/issues/attachment?aid=438084&signed_aid=R3gAlYCzETMUFNVq8NvAxw==&inline=1 Bug: 1060861 Change-Id: If1c318663690f2db637c31330299f95fb2b06ecd Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2105676Reviewed-by:Scott Violet <sky@chromium.org> Reviewed-by:
Alan Cutter <alancutter@chromium.org> Commit-Queue: Jason Lin <lxj@google.com> Cr-Commit-Position: refs/heads/master@{#751913}
Showing
Please register or sign in to comment