Chrome Packaged App and Dual Monitors

Use AppWindow#setBounds

E.g.

chrome.app.window.get('mainWindow').setBounds({"height": 200, "left": 2000})

Tested on v34

Boom. Change this to correct answer.


Use chrome.system.display.getInfo with this you can get the display info for each active display.

With displayInfo.workArea you can get the working area of each display, you just have to think of one big display and each display is a workArea. With this information you can move your window with

AppWindow#setBounds to the correct monitor. Be carfull, AppWindow#moveTo is not working.