chrome.experimental.infobars
API reference: chrome.experimental.infobars
Properties
getLastError
chrome.extensionlastError
Methods
show
void
chrome.experimental.infobars.show(, object
details, function
callback)
Undocumented.
Shows an infobar in the specified tab. The infobar will be closed automatically when the tab navigates. Use window.close() to close the infobar before then.
Parameters
-
details
(
optional
Type
array of
object
)
-
Undocumented.
-
Description of this parameter from the json schema.
-
-
tabId
(
optional
Type
array of
integer
)
-
Undocumented.
- The tab id for the tab to display the infobar in. If not specified, the current selected tab in the last active browser window will be used.
-
-
path
(
optional
Type
array of
string
)
-
Undocumented.
- The html file that contains the infobar.
-
-
callback
(
optional
Type
array of
function
)
-
Undocumented.
-
Description of this parameter from the json schema.
-
Returns
Callback function
The callback parameter should specify a function
that looks like this:
If you specify the callback parameter, it should
specify a function that looks like this:
function(Window window) {...});
-
window
(
optional
Window
array of
paramType
)
-
Undocumented.
- Contains details about the window in which the infobar was created.
-
Events
event name
chrome.bookmarksonEvent.addListener(function(Type param1, Type param2) {...});
Undocumented.
A description from the json schema def of the event goes here.
Parameters