[Extensions Menu] Fix removal flow when popups are out
If an extension is displaying a popup (and is popped out from the menu), we need to be careful about how it is deleted in order to allow the UI to properly clean itself up. In particular, the ExtensionActionViewController has to outlive the cleanup process, undoing the popup. Fix this, and add the ability to inspect a popup from a browsertest. These changes, in combination with non-destructively repopulating the menu, fix the BrowserActionInteractiveTests with the Extensions Menu. Bug: 984654 Change-Id: I6cb9ea3ffb312a0fae9ee326eedb58b14c74d20d Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2003423 Commit-Queue: Devlin <rdevlin.cronin@chromium.org> Reviewed-by:Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#734484}
Showing
Please register or sign in to comment