Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
chrome
windows
Module windows
Index
Variables
WINDOW_ID_CURRENT
WINDOW_ID_NONE
onCreated
onFocusChanged
onRemoved
Interfaces
CreateData
GetInfo
UpdateInfo
Window
WindowCreatedEvent
WindowFocusChangedEvent
WindowRemovedEvent
Functions
create
get
getAll
getCurrent
getLastFocused
remove
update
Variables
WINDOW_ID_CURRENT
:
number
WINDOW_ID_NONE
:
number
onCreated
:
WindowCreatedEvent
onFocusChanged
:
WindowFocusChangedEvent
onRemoved
:
WindowRemovedEvent
Functions
create
(
createData
?:
CreateData
, callback
?:
(window: chrome.windows.Window) => void
)
Parameters
createData?:
CreateData
optional
callback?:
(window: chrome.windows.Window) => void
optional
get
(
windowId
:
number
, callback
:
(window: chrome.windows.Window) => void
)
Parameters
windowId:
number
callback:
(window: chrome.windows.Window) => void
get
(
windowId
:
number
, getInfo
:
GetInfo
, callback
:
(window: chrome.windows.Window) => void
)
Parameters
windowId:
number
getInfo:
GetInfo
callback:
(window: chrome.windows.Window) => void
getAll
(
callback
:
(windows: chrome.windows.Window[]) => void
)
Parameters
callback:
(windows: chrome.windows.Window[]) => void
getAll
(
getInfo
:
GetInfo
, callback
:
(windows: chrome.windows.Window[]) => void
)
Parameters
getInfo:
GetInfo
callback:
(windows: chrome.windows.Window[]) => void
getCurrent
(
callback
:
(window: chrome.windows.Window) => void
)
Parameters
callback:
(window: chrome.windows.Window) => void
getCurrent
(
getInfo
:
GetInfo
, callback
:
(window: chrome.windows.Window) => void
)
Parameters
getInfo:
GetInfo
callback:
(window: chrome.windows.Window) => void
getLastFocused
(
callback
:
(window: chrome.windows.Window) => void
)
Parameters
callback:
(window: chrome.windows.Window) => void
getLastFocused
(
getInfo
:
GetInfo
, callback
:
(window: chrome.windows.Window) => void
)
Parameters
getInfo:
GetInfo
callback:
(window: chrome.windows.Window) => void
remove
(
windowId
:
number
, callback
?:
Function
)
Parameters
windowId:
number
callback?:
Function
optional
update
(
windowId
:
number
, updateInfo
:
UpdateInfo
, callback
?:
(window: chrome.windows.Window) => void
)
Parameters
windowId:
number
updateInfo:
UpdateInfo
callback?:
(window: chrome.windows.Window) => void
optional
Globals
chrome
chrome
chrome.alarms
chrome.bookmarks
chrome.browserAction
chrome.browsingData
chrome.commands
chrome.contentSettings
chrome.contextMenus
chrome.cookies
chrome.declarativeWebRequest
chrome.devtools
chrome.devtools.inspectedWindow
chrome.devtools.network
chrome.devtools.panels
chrome.downloads
chrome.events
chrome.extension
chrome.fileBrowserHandler
chrome.fontSettings
chrome.history
chrome.i18n
chrome.identity
chrome.idle
chrome.input
chrome.input.ime
chrome.management
chrome.notifications
chrome.omnibox
chrome.pageAction
chrome.pageCapture
chrome.permissions
chrome.privacy
chrome.proxy
chrome.runtime
chrome.scriptBadge
chrome.socket
chrome.storage
chrome.tabs
chrome.topSites
chrome.tts
chrome.ttsEngine
chrome.types
chrome.webNavigation
chrome.webRequest
chrome.webstore
chrome.windows
WINDOW_ID_CURRENT
WINDOW_ID_NONE
onCreated
onFocusChanged
onRemoved
CreateData
GetInfo
UpdateInfo
Window
WindowCreatedEvent
WindowFocusChangedEvent
WindowRemovedEvent
create
get
getAll
getCurrent
getLastFocused
remove
update