PrivacyProtectionsPopupManager

Interface for managing the business logic associated with the Privacy Protections Popup.

It is intended to be used within a ViewModel.

Properties

Link copied to clipboard

A flow representing the current view state of the PrivacyProtectionsPopup.

Functions

Link copied to clipboard
abstract fun onPageLoaded(url: String, httpErrorCodes: List<Int>, hasBrowserError: Boolean)

Handles the event of a page being fully loaded.

Link copied to clipboard
abstract fun onPageRefreshTriggeredByUser(isOmnibarAtTheTop: Boolean)

Invoked when a page refresh is triggered by the user.

Link copied to clipboard

Handles UI events emitted by the PrivacyProtectionsPopup.