Interact with browser windows. You can use this API to get information about open windows and to open, modify, and close windows. You can also listen for window open, close, and activate events.
The type of browser window this is.
The state of this browser window.
Contains information about a browser window.
Specifies the type of browser window to create.
windowIdvalue that represents the absence of a browser window.
A value that can be used in place of a
windowIdin some APIs to represent the current window.
Gets details about a window, given its ID.
Gets the current window.
Gets the window that was most recently focused — typically the window 'on top'.
Gets all windows.
Creates a new window.
Updates the properties of a window. Use this to move, resize, and (un)focus a window, etc.
Closes a window, and all its tabs.
Fired when a window is created.
Fired when a window is closed.
Fired when the currently focused window changes.
BCD tables only load in the browser
Note: This API is based on Chromium's
chrome.windows API. This documentation is derived from
windows.json in the Chromium code.