refactor: use ipcMainUtils.invokeInWebContents / ipcRendererUtils.handle helpers for Chrome APIs (#17417)
This commit is contained in:
parent
546466b209
commit
336db33d18
9 changed files with 82 additions and 99 deletions
1
typings/internal-electron.d.ts
vendored
1
typings/internal-electron.d.ts
vendored
|
@ -61,6 +61,7 @@ declare namespace Electron {
|
|||
|
||||
interface WebContentsInternal extends Electron.WebContents {
|
||||
_sendInternal(channel: string, ...args: any[]): void;
|
||||
_sendInternalToAll(channel: string, ...args: any[]): void;
|
||||
}
|
||||
|
||||
const deprecate: ElectronInternal.DeprecationUtil;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue