Get rid of the ugly ATOM_BROWSER_INTERNAL_NEW message.

This commit is contained in:
Cheng Zhao 2013-12-26 18:41:21 +08:00
parent cfca12d4a5
commit d3f33152d0
7 changed files with 29 additions and 37 deletions

View file

@ -91,10 +91,6 @@ to the spec of npm modules. So usually you should also specify a `productName`
field, which is your application's full capitalized name, and it will be
preferred over `name` by atom-shell.
## 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.

View file

@ -99,6 +99,10 @@ shouldn't!).
Emitted when the memory taken by the native window is released. Usually you
should dereference the javascript object when received this event.
### Class Method: BrowserWindow.getAllWindows()
Returns an array of all opened browser windows.
### Class Method: BrowserWindow.getFocusedWindow()
Returns the window that is focused in this application.