package webextension_polyfill.tabs;
/**
Defines how zoom changes in a tab are handled and at what scope.
**/
typedef ZoomSettings = {
/**
Defines how zoom changes are handled, i.e. which entity is responsible for the actual scaling of the page; defaults to
automatic
.
Optional.
**/
@:optional
var mode : ZoomSettingsMode;
/**
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.
Optional.
**/
@:optional
var scope : ZoomSettingsScope;
/**
Used to return the default zoom level for the current tab in calls to tabs.getZoomSettings.
Optional.
**/
@:optional
var defaultZoomFactor : Float;
};