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

Side by Side Diff: content/browser/frame_host/frame_tree_node.h

Issue 642813007: Drop CreateChildFrame messages when swapping out. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Another round of fixes. Created 6 years, 2 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 unified diff | Download patch
« no previous file with comments | « content/browser/frame_host/frame_tree.cc ('k') | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ 5 #ifndef CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ 6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/basictypes.h" 10 #include "base/basictypes.h"
(...skipping 23 matching lines...) Expand all
34 RenderFrameHostDelegate* render_frame_delegate, 34 RenderFrameHostDelegate* render_frame_delegate,
35 RenderViewHostDelegate* render_view_delegate, 35 RenderViewHostDelegate* render_view_delegate,
36 RenderWidgetHostDelegate* render_widget_delegate, 36 RenderWidgetHostDelegate* render_widget_delegate,
37 RenderFrameHostManager::Delegate* manager_delegate, 37 RenderFrameHostManager::Delegate* manager_delegate,
38 const std::string& name); 38 const std::string& name);
39 39
40 ~FrameTreeNode(); 40 ~FrameTreeNode();
41 41
42 bool IsMainFrame() const; 42 bool IsMainFrame() const;
43 43
44 void AddChild(scoped_ptr<FrameTreeNode> child, int frame_routing_id); 44 void AddChild(scoped_ptr<FrameTreeNode> child,
45 int process_id,
46 int frame_routing_id);
45 void RemoveChild(FrameTreeNode* child); 47 void RemoveChild(FrameTreeNode* child);
46 48
47 // Clears process specific-state in this node to prepare for a new process. 49 // Clears process specific-state in this node to prepare for a new process.
48 void ResetForNewProcess(); 50 void ResetForNewProcess();
49 51
50 FrameTree* frame_tree() const { 52 FrameTree* frame_tree() const {
51 return frame_tree_; 53 return frame_tree_;
52 } 54 }
53 55
54 Navigator* navigator() { 56 Navigator* navigator() {
(...skipping 73 matching lines...) Expand 10 before | Expand all | Expand 10 after
128 // TODO(creis): Remove this when we can store subframe URLs in the 130 // TODO(creis): Remove this when we can store subframe URLs in the
129 // NavigationController. 131 // NavigationController.
130 GURL current_url_; 132 GURL current_url_;
131 133
132 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); 134 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode);
133 }; 135 };
134 136
135 } // namespace content 137 } // namespace content
136 138
137 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ 139 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_
OLDNEW
« no previous file with comments | « content/browser/frame_host/frame_tree.cc ('k') | content/browser/frame_host/frame_tree_node.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698