Skip to content

shared/ipc/shell-channels

ShellChannel = typeof shellChannels[number]

Defined in: app/src/shared/ipc/shell-channels.ts:35

A request channel of the shell.

const shellChannels: readonly ["shell.getState", "tabs.open", "tabs.activate", "tabs.close", "tabs.navigate", "tabs.action", "shell.setInsets", "tabs.reopenClosed", "shell.openMenu", "shell.openBlockerPopover", "shell.openDownloads", "tabs.proceedUnsafely", "tabs.find", "tabs.stopFind", "tabs.resetZoom", "shell.toggleBookmark", "shell.openBookmarkFolder"]

Defined in: app/src/shared/ipc/shell-channels.ts:20

Channel names of the shell, without schemas, so the preload script stays tiny. A test checks that this list matches the contracts in shell-contracts.ts and shell-later-contracts.ts.


const shellEventChannels: readonly ["shell.stateChanged", "shell.command"]

Defined in: app/src/shared/ipc/shell-channels.ts:32

Event channels the shell listens to.


const shellLaterChannels: readonly ["tabs.reopenClosed", "shell.openMenu", "shell.openBlockerPopover", "shell.openDownloads", "tabs.proceedUnsafely", "tabs.find", "tabs.stopFind", "tabs.resetZoom", "shell.toggleBookmark", "shell.openBookmarkFolder"]

Defined in: app/src/shared/ipc/shell-channels.ts:2

Requests of the shell whose handlers load with the first of them.