Add app.getBrowserWindows() API.

This commit is contained in:
Cheng Zhao 2013-10-05 13:13:04 +08:00
parent 61cc0bba25
commit 666f6b3a01
3 changed files with 11 additions and 3 deletions

View file

@ -79,6 +79,10 @@ code will not run.
Returns the version of current bundle or executable.
## app.getBrowserWindows()
Returns an array of all browser windows.
## app.commandLine.appendSwitch(switch, [value])
Append a switch [with optional value] to Chromium's command line.