summaryrefslogtreecommitdiff
path: root/chromium/content/browser/renderer_host/frame_tree_node.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/renderer_host/frame_tree_node.h')
-rw-r--r--chromium/content/browser/renderer_host/frame_tree_node.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/chromium/content/browser/renderer_host/frame_tree_node.h b/chromium/content/browser/renderer_host/frame_tree_node.h
index e3f14b23925..daef2e0b0d0 100644
--- a/chromium/content/browser/renderer_host/frame_tree_node.h
+++ b/chromium/content/browser/renderer_host/frame_tree_node.h
@@ -62,6 +62,10 @@ class CONTENT_EXPORT FrameTreeNode {
// Invoked when a FrameTreeNode becomes focused.
virtual void OnFrameTreeNodeFocused(FrameTreeNode* node) {}
+ // Invoked when a FrameTreeNode moves to a different BrowsingInstance and
+ // the popups it opened should be disowned.
+ virtual void OnFrameTreeNodeDisownedOpenee(FrameTreeNode* node) {}
+
virtual ~Observer() = default;
};
@@ -513,6 +517,10 @@ class CONTENT_EXPORT FrameTreeNode {
replication_state_->name = name;
}
+ // Clears the opener property of popups referencing this FrameTreeNode as
+ // their opener.
+ void ClearOpenerReferences();
+
private:
FRIEND_TEST_ALL_PREFIXES(SitePerProcessPermissionsPolicyBrowserTest,
ContainerPolicyDynamic);