Defines how zoom changes in a tab are handled and at what scope.

interface ZoomSettings {
    defaultZoomFactor?: number;
    mode?: ZoomSettingsMode;
    scope?: ZoomSettingsScope;
}
Index
defaultZoomFactor?: number

Used to return the default zoom level for the current tab in calls to tabs.getZoomSettings.

Defines how zoom changes are handled, i.e. which entity is responsible for the actual scaling of the page; defaults to automatic.

Defines whether zoom changes will persist for the page's origin, or only take effect in this tab; defaults to per-origin when in automatic mode, and per-tab otherwise.