Commit Graph

5 Commits

Author SHA1 Message Date
rhysd
978a94de72 Fix parameter's type of Tray.setImage()
`Tray.setImage()` can take `string` parameter the same as constructor of
`Tray`.
2015-09-08 18:57:31 +09:00
Masahiro Wakame
8c8a631830 Merge pull request #5602 from rhysd/patch-1
Add BrowserWindow.isDevToolsOpened()
2015-09-03 01:53:51 +09:00
rhysd
54862b49b1 Add BrowserWindow.isDevToolsOpened()
https://github.com/atom/electron/blob/master/docs/api/browser-window.md#winisdevtoolsopened
2015-08-29 19:45:54 +09:00
rhysd
d34aa2d731 Added WebContents.print(), webContents.printToPDF() and aliases for BrowserWindow
Added definitions for below APIs.

- `WebContents.print([options])`

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#webcontentsprintoptions

- `WebContents.printToPDF(options, callback)`

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#webcontentsprinttopdfoptions-callback

- `BrowserWindow`'s aliases'

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#browserwindowprintoptions
2015-08-17 16:49:39 +09:00
Jed Mao
f70b0da416 Add Electron definitions 2015-05-06 12:06:22 -05:00