refactor: implement clipboard APIs without the remote module (#17200)

This commit is contained in:
Milan Burda 2019-03-16 01:32:04 +01:00 committed by Shelley Vohr
parent 43ef561d48
commit 3a091cdea4
10 changed files with 118 additions and 45 deletions

View file

@ -55,6 +55,10 @@ declare namespace Electron {
sendToAll(webContentsId: number, channel: string, ...args: any[]): void
}
interface RemoteInternal extends Electron.Remote {
getGuestWebContents(guestInstanceId: number): Electron.WebContents;
}
interface WebContentsInternal extends Electron.WebContents {
_sendInternal(channel: string, ...args: any[]): void;
}