Skip to content

Commit 4a040b4

Browse files
vapiercopybara-github
authored andcommitted
add chrome.windows.CreateType & chrome.windows.WindowType
PiperOrigin-RevId: 553547719
1 parent 9937469 commit 4a040b4

File tree

1 file changed

+26
-0
lines changed

1 file changed

+26
-0
lines changed

contrib/externs/chrome_extensions.js

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3711,6 +3711,32 @@ chrome.topSites.get = function(callback) {};
37113711
chrome.windows = {};
37123712

37133713

3714+
/**
3715+
* Specifies what type of browser window to create.
3716+
* @see https://developer.chrome.com/docs/extensions/reference/windows/#type-CreateType
3717+
* @enum {string}
3718+
*/
3719+
chrome.windows.CreateType = {
3720+
NORMAL: '',
3721+
PANEL: '',
3722+
POPUP: '',
3723+
};
3724+
3725+
3726+
/**
3727+
* The type of browser window this is.
3728+
* @see https://developer.chrome.com/docs/extensions/reference/windows/#type-WindowType
3729+
* @enum {string}
3730+
*/
3731+
chrome.windows.WindowType = {
3732+
APP: '',
3733+
DEVTOOLS: '',
3734+
NORMAL: '',
3735+
PANEL: '',
3736+
POPUP: '',
3737+
};
3738+
3739+
37143740
/**
37153741
* @param {Object=} opt_createData May have many keys to specify parameters.
37163742
* Or the callback.

0 commit comments

Comments
 (0)