Remove teleport menu item from Chrome OS settings window frame menu
This fixes a regression introduced by the split settings project. The window frame menu for settings, when multiple users are logged in, is not supposed to show the "Teleport" menu item. This broke because the WebUI URL for the Settings window content changed. Fix by using SettingsWindowManager to detect if a Browser* is the settings window, which is the canonical way of doing it. Bug: 1023043 Test: added to browser_tests Change-Id: Ib79bcfd6c6206773d12377640f476d3b76652182 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1910760Reviewed-by:Ahmed Fakhry <afakhry@chromium.org> Reviewed-by:
Michael Wasserman <msw@chromium.org> Commit-Queue: James Cook <jamescook@chromium.org> Cr-Commit-Position: refs/heads/master@{#714374}
Showing
Please register or sign in to comment