Files
chrome-extensions-samples/singleton
2012-07-20 16:38:20 -07:00
..
2012-07-20 16:38:20 -07:00
2012-06-27 12:59:19 -07:00
2012-06-27 12:59:19 -07:00

Sample that shows how to use the windowing API in an app to have a "singleton" window app.

The app keeps track of its window in the background page. If none exists, or if it's closed, it creates a new one. Otherwise it re-focuses the existing one via chrome.app.window.focus().