fix: ensure ready-to-show event is fired (#25672)

This commit is contained in:
trop[bot]
2020-09-29 16:46:11 -07:00
committed by GitHub
parent 0667110350
commit dcbca5448a
8 changed files with 31 additions and 33 deletions

View File

@@ -49,6 +49,10 @@ interface ElectronBrowser {
string channel,
blink.mojom.CloneableMessage arguments) => (blink.mojom.CloneableMessage result);
// Informs underlying WebContents that first non-empty layout was performed
// by compositor.
OnFirstNonEmptyLayout();
ReceivePostMessage(string channel, blink.mojom.TransferableMessage message);
// Emits an event on |channel| from the ipcMain JavaScript object in the main