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

This commit is contained in:
CezaryKulakowski
2020-09-28 22:36:45 +02:00
committed by GitHub
parent ac25f4d2ff
commit b85195ee5f
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