Skip to content

main/shield-popover

Defined in: app/src/main/shield-popover.ts:26

What the content blocker’s popover needs from the browser process.

readonly blocker: ContentBlocker

Defined in: app/src/main/shield-popover.ts:31

readonly blocking: (url) => Blocking

Defined in: app/src/main/shield-popover.ts:33

Whether the content blocker works on a page.

string

Blocking

readonly overlay: OverlayOptions

Defined in: app/src/main/shield-popover.ts:29

readonly router: IpcRouter

Defined in: app/src/main/shield-popover.ts:28

readonly settings: SettingsService

Defined in: app/src/main/shield-popover.ts:30

readonly windows: WindowManager

Defined in: app/src/main/shield-popover.ts:27

openShieldPopover(window, anchor, deps): void

Defined in: app/src/main/shield-popover.ts:45

Opens the content blocker’s popover of a window’s active tab at the shield button. The first call connects the overlay’s channels.

BrowserWindowController

The window whose shield was clicked.

Where the button is, in the window.

number = coordinate

number = coordinate

number = coordinate

number = coordinate

ShieldPopoverDependencies

What the popover needs.

void