Move capturePage to WebContents
This commit is contained in:
parent
d42d10a47c
commit
f7b72f0948
8 changed files with 67 additions and 79 deletions
|
@ -153,6 +153,9 @@ Object.assign(BrowserWindow.prototype, {
|
|||
},
|
||||
showDefinitionForSelection () {
|
||||
return this.webContents.showDefinitionForSelection()
|
||||
},
|
||||
capturePage (...args) {
|
||||
return this.webContents.capturePage.apply(this.webContents, args)
|
||||
}
|
||||
})
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue