main/page-handlers
Interfaces
Section titled “Interfaces”PageDependencies
Section titled “PageDependencies”Defined in: app/src/main/page-handlers.ts:16
What the browser’s own pages need from the browser process.
Properties
Section titled “Properties”bookmarks
Section titled “bookmarks”
readonlybookmarks:Bookmarks
Defined in: app/src/main/page-handlers.ts:24
canBeDefaultBrowser
Section titled “canBeDefaultBrowser”
readonlycanBeDefaultBrowser:boolean
Defined in: app/src/main/page-handlers.ts:31
Whether this installation can become the default browser.
readonlydata:DataClient
Defined in: app/src/main/page-handlers.ts:23
defaultBrowserAllowed
Section titled “defaultBrowserAllowed”
readonlydefaultBrowserAllowed: () =>boolean
Defined in: app/src/main/page-handlers.ts:29
Whether a policy lets the user make the browser the default.
Returns
Section titled “Returns”boolean
definitions
Section titled “definitions”
readonlydefinitions: readonlySettingDefinition<unknown>[]
Defined in: app/src/main/page-handlers.ts:20
All settings; those with ui metadata appear on the settings page.
importAllowed
Section titled “importAllowed”
readonlyimportAllowed: () =>boolean
Defined in: app/src/main/page-handlers.ts:27
Whether a policy allows the import from other browsers.
Returns
Section titled “Returns”boolean
internal
Section titled “internal”
readonlyinternal:Session
Defined in: app/src/main/page-handlers.ts:22
Session of the browser’s own views, whose pages receive changes.
router
Section titled “router”
readonlyrouter:IpcRouter
Defined in: app/src/main/page-handlers.ts:17
settings
Section titled “settings”
readonlysettings:SettingsService
Defined in: app/src/main/page-handlers.ts:18
startValues
Section titled “startValues”
readonlystartValues:ReadonlyMap<string,string>
Defined in: app/src/main/page-handlers.ts:33
The values, as JSON, that the settings which need a restart had when the browser started.
windows
Section titled “windows”
readonlywindows:WindowManager
Defined in: app/src/main/page-handlers.ts:25
Functions
Section titled “Functions”connectPages()
Section titled “connectPages()”connectPages(
dependencies):void
Defined in: app/src/main/page-handlers.ts:42
Connects the browser’s own pages other than the new tab page: settings, setup guide, history, bookmarks, the import and the default browser setting. The browser loads this module with the first of these pages, before the page itself, so the start does not.
Parameters
Section titled “Parameters”dependencies
Section titled “dependencies”What the pages need.
Returns
Section titled “Returns”void