Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(241)

Unified Diff: content/browser/frame_host/frame_tree.h

Issue 536143002: Do not create proxy hosts in the subtree of navigating frame. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree.cc » ('j') | content/browser/frame_host/frame_tree.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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,
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree.cc » ('j') | content/browser/frame_host/frame_tree.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698