Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

What is the "shell" window type in chrome extensions? Can it be used to hide a window?

I just noticed this in the trunk/dev channel:

type ( enumerated string ["normal", "popup", "panel", "app", "shell"] )

The type of browser window this is.

I tried it with with Canary: no window is shown, but we have console output, so something has been created. The thing is I just don't get it. How is this different from a background page?

I was hoping to toggle windows completely out of the user's view, without having to reload the window's content when toggling up. Anyway, I'm not hoping much as you can't update a window type with chrome.windows.update. But the question still remains: what is this "shell" type?

like image 316
BenoitParis Avatar asked Mar 29 '12 14:03

BenoitParis


2 Answers

"shell" moved to the new chrome.app.window API in r140947. Then it appears to have disappeared from there in the dev documentation.

like image 159
Jeffrey Yasskin Avatar answered Nov 15 '22 04:11

Jeffrey Yasskin


"shell" currently does nothing for extensions and should not be used.

like image 22
andy magoon Avatar answered Nov 15 '22 05:11

andy magoon