diff options
Diffstat (limited to 'content/browser/frame_host/frame_tree_node.h')
-rw-r--r-- | content/browser/frame_host/frame_tree_node.h | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/content/browser/frame_host/frame_tree_node.h b/content/browser/frame_host/frame_tree_node.h index 4825082..4e98559 100644 --- a/content/browser/frame_host/frame_tree_node.h +++ b/content/browser/frame_host/frame_tree_node.h @@ -124,6 +124,10 @@ class CONTENT_EXPORT FrameTreeNode { bool IsDescendantOf(FrameTreeNode* other) const; + // Return the node immediately preceding this node in its parent's + // |children_|, or nullptr if there is no such node. + FrameTreeNode* PreviousSibling() const; + // Returns true if this node is in a loading state. bool IsLoading() const; |