diff options
Diffstat (limited to 'chromium/content/common/frame.mojom')
-rw-r--r-- | chromium/content/common/frame.mojom | 14 |
1 files changed, 14 insertions, 0 deletions
diff --git a/chromium/content/common/frame.mojom b/chromium/content/common/frame.mojom index 613037782fd..2960e7c7a01 100644 --- a/chromium/content/common/frame.mojom +++ b/chromium/content/common/frame.mojom @@ -92,6 +92,13 @@ struct CreateNewWindowReply { int64 cloned_session_storage_namespace_id; }; +// An opaque handle that keeps alive the associated render process even after +// the frame is detached. Used by resource requests with "keepalive" specified. +interface KeepAliveHandle {}; + +[Native] +struct DidCommitProvisionalLoadParams; + // Implemented by the frame server (i.e. the browser process). For messages that // must be associated with the IPC channel. interface FrameHost { @@ -100,4 +107,11 @@ interface FrameHost { // be created. [Sync] CreateNewWindow(CreateNewWindowParams params) => (CreateNewWindowReply reply); + + // Creates and returns a KeepAliveHandle. + IssueKeepAliveHandle(KeepAliveHandle& keep_alive_handle); + + // Sent by the renderer when a navigation commits in the frame. + DidCommitProvisionalLoad( + DidCommitProvisionalLoadParams params); }; |