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

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: Update CreateCrossProcessSubframeProxies 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
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..79c679092aae60d834a22b13de6357a7d2a996b6 100644
--- a/content/browser/frame_host/frame_tree.h
+++ b/content/browser/frame_host/frame_tree.h
@@ -135,6 +135,11 @@ class CONTENT_EXPORT FrameTree {
typedef base::hash_map<int, RenderViewHostImpl*> RenderViewHostMap;
typedef std::multimap<int, RenderViewHostImpl*> RenderViewHostMultiMap;
+ // A variation to the public ForEach method with a difference that the subtree
+ // starting at |skip_node| will not be recursed into.
Charlie Reis 2014/09/10 07:39:09 nit: |skip_this_subtree|
nasko 2014/09/10 19:36:34 Done.
+ void ForEach(const base::Callback<bool(FrameTreeNode*)>& on_node,
+ FrameTreeNode* skip_this_subtree) const;
+
// These delegates are installed into all the RenderViewHosts and
// RenderFrameHosts that we create.
RenderFrameHostDelegate* render_frame_delegate_;
« no previous file with comments | « no previous file | content/browser/frame_host/frame_tree.cc » ('j') | content/browser/frame_host/render_frame_host_manager.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698