Interface OpenExtensionActionPopupCallback

All Superinterfaces:
AsyncCallback<OpenExtensionActionPopupCallback.Params,OpenExtensionActionPopupCallback.Action>, BrowserAsyncCallback<OpenExtensionActionPopupCallback.Params,OpenExtensionActionPopupCallback.Action>, BrowserCallback, Callback
All Known Implementing Classes:
DefaultOpenExtensionActionPopupCallback, DefaultOpenExtensionActionPopupCallback, DefaultOpenExtensionActionPopupCallback

This callback is invoked when an extension wants to open an extension action popup.

The created popup will contain the loaded HTML file configured in the extension's manifest or via the action.setPopup() method. If the extension action does not have a popup, then this callback is not invoked, and the action.onClicked event is dispatched instead.

An extension action popup browser is closed when a parent browser is closed.

If you need to open a popup that is created by the extension itself, use OpenExtensionPopupCallback.

Since:
8.0.0