-
Peter Boström authored
As BrowserActionsContainer disappears with the introduction of ExtensionsToolbarContainer this CL adds CHECKs to make sure that that experiment is not enabled whenever GetBrowserActionsContainer gets called. This change adds |GetToolbarActionViewForId| and |GetDefaultExtensionDialogAnchorView| to the ToolbarButtonProvider interface so requests for those do not need to go through BrowserActionsContainer. As a a side effect ExtensionUninstallDialogView can now anchor to pinned extensions when this experiment is enabled (as they are visible), but like the extension-installed dialog they cannot pop out the extension to display the dialog anchor yet. Bug: chromium:985834 Change-Id: I0bbc8da1d501846e72fc06987343dd758e83f922 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1731301Reviewed-by:
Caroline Rising <corising@chromium.org> Commit-Queue: Peter Boström <pbos@chromium.org> Cr-Commit-Position: refs/heads/master@{#683383}
ad8b22bd