Module implementing a manager for site specific zoom level settings.
_ZoomManager |
ZoomManager | Class implementing a manager for site specific zoom level settings. |
instance | Global function to get a reference to the zoom manager and create it, if it hasn't been yet. |
Class implementing a manager for site specific zoom level settings.
None |
None |
ZoomManager | Constructor |
__keyFromUrl | Private method to generate a DB key for an URL. |
allSiteNames | Public method to get a list of all site names. |
clear | Public method to clear the saved zoom values. |
close | Public method to close the zoom manager. |
load | Public method to load the bookmarks. |
removeZoomValue | Public method to remove a zoom value entry. |
save | Public method to save the zoom values. |
setZoomValue | Public method to record the zoom value for the given URL. |
siteInfo | Public method to get the zoom value for the site. |
sitesCount | Public method to get the number of available sites. |
zoomValue | Public method to get the zoom value for an URL. |
None |
Constructor
Private method to generate a DB key for an URL.
Public method to get a list of all site names.
Public method to clear the saved zoom values.
Public method to close the zoom manager.
Public method to load the bookmarks.
Public method to remove a zoom value entry.
Public method to save the zoom values.
Public method to record the zoom value for the given URL.
Note: Only zoom values not equal 100% are recorded.
Public method to get the zoom value for the site.
Public method to get the number of available sites.
Public method to get the zoom value for an URL.
Global function to get a reference to the zoom manager and create it, if it hasn't been yet.