mirror of
https://github.com/electron/electron.git
synced 2026-04-10 03:01:51 -04:00
Call print on webContents
This commit is contained in:
@@ -46,7 +46,7 @@ var BrowserWindowProxy = (function () {
|
||||
}
|
||||
|
||||
BrowserWindowProxy.prototype.print = function () {
|
||||
return ipcRenderer.send('ELECTRON_GUEST_WINDOW_MANAGER_WINDOW_METHOD', this.guestId, 'print')
|
||||
return ipcRenderer.send('ELECTRON_GUEST_WINDOW_MANAGER_WEB_CONTENTS_METHOD', this.guestId, 'print')
|
||||
}
|
||||
|
||||
Object.defineProperty(BrowserWindowProxy.prototype, 'location', {
|
||||
|
||||
Reference in New Issue
Block a user