Package org.mozilla.geckoview
Interface WebExtensionController.DebuggerDelegate
- Enclosing class:
- WebExtensionController
public static interface WebExtensionController.DebuggerDelegate
Delegate for receiving debugger-related WebExtension events. Used to notify about changes to
extensions during development with tools like web-ext.
-
Method Summary
Modifier and TypeMethodDescriptiondefault voidCalled whenever the list of installed extensions has been modified using the debugger with tools like web-ext.
-
Method Details
-
onExtensionListUpdated
@UiThread default void onExtensionListUpdated()Called whenever the list of installed extensions has been modified using the debugger with tools like web-ext.This is intended as an opportunity to refresh the list of installed extensions using
WebExtensionController.list()and to set delegates on the newWebExtensionobjects, e.g. usingWebExtension.setActionDelegate(org.mozilla.geckoview.WebExtension.ActionDelegate)andWebExtension.setMessageDelegate(org.mozilla.geckoview.WebExtension.MessageDelegate, java.lang.String).- See Also:
-