mirror of
https://github.com/electron/electron.git
synced 2026-01-10 07:58:08 -05:00
chore: remove deprecated <webview>.getWebContents() (#20986)
This commit is contained in:
committed by
John Kleinschmidt
parent
145ecb85c2
commit
093f2dd4a6
5
typings/internal-electron.d.ts
vendored
5
typings/internal-electron.d.ts
vendored
@@ -67,10 +67,6 @@ 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;
|
||||
_sendInternalToAll(channel: string, ...args: any[]): void;
|
||||
@@ -165,7 +161,6 @@ declare namespace ElectronInternal {
|
||||
public disconnectedCallback(): void;
|
||||
|
||||
// Created in web-view-impl
|
||||
public getWebContents(): Electron.WebContents;
|
||||
public getWebContentsId(): number;
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user