refactor: use WeakRef on main process side of remote (#24115)
This commit is contained in:
parent
09c0ee8f87
commit
e1e73fa5f5
9 changed files with 43 additions and 181 deletions
|
@ -15,13 +15,6 @@ interface ElectronRenderer {
|
|||
|
||||
ReceivePostMessage(string channel, blink.mojom.TransferableMessage message);
|
||||
|
||||
// This is an API specific to the "remote" module, and will ultimately be
|
||||
// replaced by generic IPC once WeakRef is generally available.
|
||||
[EnableIf=enable_remote_module]
|
||||
DereferenceRemoteJSCallback(
|
||||
string context_id,
|
||||
int32 object_id);
|
||||
|
||||
NotifyUserActivation();
|
||||
|
||||
TakeHeapSnapshot(handle file) => (bool success);
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue