Index: content/browser/frame_host/frame_tree.h |
diff --git a/content/browser/frame_host/frame_tree.h b/content/browser/frame_host/frame_tree.h |
index bd1f19aa25b879c45213ec4de77fc2e0abd65c45..904193b4f2a3aebe8598028b645578e88cf5c0f9 100644 |
--- a/content/browser/frame_host/frame_tree.h |
+++ b/content/browser/frame_host/frame_tree.h |
@@ -69,6 +69,11 @@ class CONTENT_EXPORT FrameTree { |
// it safe to remove children during the callback. |
void ForEach(const base::Callback<bool(FrameTreeNode*)>& on_node) const; |
+ // A variation to the method above with a difference that the subtree starting |
+ // at |skip_node| will not be recursed into. |
+ void ForEach(const base::Callback<bool(FrameTreeNode*)>& on_node, |
awong
2014/09/03 21:58:38
Does this need to be public?
nasko
2014/09/03 23:50:19
No.
|
+ FrameTreeNode* skip_node) const; |
awong
2014/09/03 21:58:38
skip_node -> skip_this_subtree?
nasko
2014/09/03 23:50:19
Done.
|
+ |
// Frame tree manipulation routines. |
RenderFrameHostImpl* AddFrame(FrameTreeNode* parent, |
int new_routing_id, |