Merge pull request #9154 from miniak/fix-api-docs

Fix api docs
This commit is contained in:
Kevin Sawicki 2017-04-10 08:16:54 -07:00 committed by GitHub
commit 3ec7900e6e
2 changed files with 17 additions and 1 deletions

View file

@ -287,7 +287,7 @@ win.webContents.session.setCertificateVerifyProc((request, callback) => {
#### `ses.setPermissionRequestHandler(handler)`
* `handler` Function
* `webContents` Object - [WebContents](web-contents.md) requesting the permission.
* `webContents` [WebContents](web-contents.md) - WebContents requesting the permission.
* `permission` String - Enum of 'media', 'geolocation', 'notifications', 'midiSysex',
'pointerLock', 'fullscreen', 'openExternal'.
* `callback` Function