summaryrefslogtreecommitdiff
path: root/chromium/third_party/blink/renderer/core/html/portal/portal_contents.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/third_party/blink/renderer/core/html/portal/portal_contents.h')
-rw-r--r--chromium/third_party/blink/renderer/core/html/portal/portal_contents.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/chromium/third_party/blink/renderer/core/html/portal/portal_contents.h b/chromium/third_party/blink/renderer/core/html/portal/portal_contents.h
index 86f1da2db39..82270a20191 100644
--- a/chromium/third_party/blink/renderer/core/html/portal/portal_contents.h
+++ b/chromium/third_party/blink/renderer/core/html/portal/portal_contents.h
@@ -79,6 +79,10 @@ class PortalContents : public GarbageCollected<PortalContents>,
// down.
void Destroy();
+ // Called when the connection to the browser-side Portal object is lost.
+ // Cleans up any remaining state.
+ void DisconnectHandler();
+
// blink::mojom::PortalClient implementation
void ForwardMessageFromGuest(
BlinkTransferableMessage message,
@@ -97,7 +101,7 @@ class PortalContents : public GarbageCollected<PortalContents>,
void OnActivateResponse(mojom::blink::PortalActivateResult);
// The document which owns this contents.
- // TODO(jbroman): Should this be a DocumentShutdownObserver instead?
+ // TODO(jbroman): Should this be a ExecutionContextLifecycleObserver instead?
Member<Document> document_;
// The element which owns this contents, if any.