android-components / mozilla.components.support.webextensions

Package mozilla.components.support.webextensions

Types

Name Summary
WebExtensionController class WebExtensionController
Provides functionality to feature modules that need to interact with a web extension.
WebExtensionPopupFeature class WebExtensionPopupFeature : LifecycleAwareFeature
Feature implementation that opens popups for web extensions browser actions.
WebExtensionSupport object WebExtensionSupport
Provides functionality to make sure web extension related events in the WebExtensionRuntime are reflected in the browser state by dispatching the corresponding actions to the BrowserStore.

Type Aliases

Name Summary
onUpdatePermissionRequest typealias onUpdatePermissionRequest = (current: WebExtension, updated: WebExtension, newPermissions: List<String>, onPermissionsGranted: (Boolean) -> Unit) -> Unit
Function to relay the permission request to the app / user.