Commit Graph

21 Commits

Author SHA1 Message Date
hinamiyagk
0a25e19498 Add type definition for IPC Event on main process 2015-12-29 01:20:15 +09:00
hinamiyagk
1bd11135c8 Add electron.hideInternalModules() 2015-12-14 12:09:18 +09:00
Masahiro Wakame
465cefc2fd Merge pull request #7121 from rhysd/electron-v0.35
Electron v0.35
2015-12-10 23:54:10 +09:00
rhysd
8f6135b6a0 github-electron: Fix min-width style properties of BrowserWindowOptions to minWidth style
They were renamed at Electron v0.35 and previous names were deprecated.

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
2015-12-10 00:56:18 +09:00
rhysd
b10b59fe42 github-electron: Unite main process definitions and renderer process definitions
because currently github-electron-renderer.d.ts and
github-electron-main.d.ts can't be used with tsd.d.ts at the same
time.  tsd.d.ts includes both definition files.  So I unite them to
resolve it.
2015-12-10 00:44:14 +09:00
rhysd
d5eca5e9a3 github-electron: Add 'electron' module for main process 2015-12-10 00:08:18 +09:00
rhysd
3b74f5ae2c github-electron: Add missing menu item option 'role' 2015-12-04 09:57:43 +09:00
Masahiro Wakame
34267a771c Merge pull request #6870 from progre/feature/github-electron-url-capitalize
Electron: Url to URL
2015-11-27 00:52:39 +09:00
progre
c9296d222f Url to URL 2015-11-21 16:35:44 +09:00
rhysd
addd482a5b github-electron: Add addWorkSpace() and removeWorkSpace to WebContents 2015-11-21 07:22:23 +09:00
rhysd
31bef5ed02 DevTools-related methods are moved from BrowserWindow to WebContents
DevTools-related methods are no longer defined in `BrowserWindow`.

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

Instead, they are defined in `WebContents`.

https://github.com/atom/electron/blob/master/docs/api/web-contents.md
2015-11-21 07:22:14 +09:00
Masahiro Wakame
eb4877a5f8 Merge pull request #6561 from rhysd/github-electron/title-bar-style
github-electron: Added 'title-bar-style' option to BrowserWindowOptions
2015-11-02 23:53:18 +09:00
rhysd
fe9e124f69 Add 'title-bar-style' option to GitHubElectron.BrowserWindow
The documentation is below:

https://github.com/atom/electron/blob/master/docs/api/browser-window.md#new-browserwindowoptions
2015-11-01 21:29:43 +09:00
rhysd
9bd639eaf8 Add makeSingleInstance() API to 'app' module
Electron 0.34.1 introduced a new API `makeSingleInstance()`.

https://github.com/atom/electron/blob/master/docs/api/app.md#appmakesingleinstancecallback
2015-10-31 17:25:18 +09:00
Masahiro Wakame
7f07bd88d1 Merge pull request #5727 from rhysd/patch-2
Fixed parameter's type of Tray.setImage()
2015-09-09 02:51:31 +09:00
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
rhysd
b8e6260a19 Add missing optional parameter of WebContents.loadUrl() 2015-09-05 23:07:35 +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