| OLD | NEW |
| 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 Loading... |
| 34 // Returns the FrameTreeNode with the given global |frame_tree_node_id|, | 34 // Returns the FrameTreeNode with the given global |frame_tree_node_id|, |
| 35 // regardless of which FrameTree it is in. | 35 // regardless of which FrameTree it is in. |
| 36 static FrameTreeNode* GloballyFindByID(int frame_tree_node_id); | 36 static FrameTreeNode* GloballyFindByID(int frame_tree_node_id); |
| 37 | 37 |
| 38 FrameTreeNode(FrameTree* frame_tree, | 38 FrameTreeNode(FrameTree* frame_tree, |
| 39 Navigator* navigator, | 39 Navigator* navigator, |
| 40 RenderFrameHostDelegate* render_frame_delegate, | 40 RenderFrameHostDelegate* render_frame_delegate, |
| 41 RenderViewHostDelegate* render_view_delegate, | 41 RenderViewHostDelegate* render_view_delegate, |
| 42 RenderWidgetHostDelegate* render_widget_delegate, | 42 RenderWidgetHostDelegate* render_widget_delegate, |
| 43 RenderFrameHostManager::Delegate* manager_delegate, | 43 RenderFrameHostManager::Delegate* manager_delegate, |
| 44 blink::WebTreeScopeType scope, |
| 44 const std::string& name, | 45 const std::string& name, |
| 45 SandboxFlags sandbox_flags); | 46 SandboxFlags sandbox_flags); |
| 46 | 47 |
| 47 ~FrameTreeNode(); | 48 ~FrameTreeNode(); |
| 48 | 49 |
| 49 bool IsMainFrame() const; | 50 bool IsMainFrame() const; |
| 50 | 51 |
| 51 void AddChild(scoped_ptr<FrameTreeNode> child, | 52 void AddChild(scoped_ptr<FrameTreeNode> child, |
| 52 int process_id, | 53 int process_id, |
| 53 int frame_routing_id); | 54 int frame_routing_id); |
| (...skipping 171 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 225 // Owns an ongoing NavigationRequest until it is ready to commit. It will then | 226 // Owns an ongoing NavigationRequest until it is ready to commit. It will then |
| 226 // be reset and a RenderFrameHost will be responsible for the navigation. | 227 // be reset and a RenderFrameHost will be responsible for the navigation. |
| 227 scoped_ptr<NavigationRequest> navigation_request_; | 228 scoped_ptr<NavigationRequest> navigation_request_; |
| 228 | 229 |
| 229 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); | 230 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); |
| 230 }; | 231 }; |
| 231 | 232 |
| 232 } // namespace content | 233 } // namespace content |
| 233 | 234 |
| 234 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ | 235 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ |
| OLD | NEW |