| 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 <stddef.h> | 8 #include <stddef.h> |
| 9 | 9 |
| 10 #include <memory> | 10 #include <memory> |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 49 | 49 |
| 50 // Returns the FrameTreeNode with the given global |frame_tree_node_id|, | 50 // Returns the FrameTreeNode with the given global |frame_tree_node_id|, |
| 51 // regardless of which FrameTree it is in. | 51 // regardless of which FrameTree it is in. |
| 52 static FrameTreeNode* GloballyFindByID(int frame_tree_node_id); | 52 static FrameTreeNode* GloballyFindByID(int frame_tree_node_id); |
| 53 | 53 |
| 54 // Callers are are expected to initialize sandbox flags separately after | 54 // Callers are are expected to initialize sandbox flags separately after |
| 55 // calling the constructor. | 55 // calling the constructor. |
| 56 FrameTreeNode(FrameTree* frame_tree, | 56 FrameTreeNode(FrameTree* frame_tree, |
| 57 Navigator* navigator, | 57 Navigator* navigator, |
| 58 RenderFrameHostDelegate* render_frame_delegate, | 58 RenderFrameHostDelegate* render_frame_delegate, |
| 59 RenderViewHostDelegate* render_view_delegate, | |
| 60 RenderWidgetHostDelegate* render_widget_delegate, | 59 RenderWidgetHostDelegate* render_widget_delegate, |
| 61 RenderFrameHostManager::Delegate* manager_delegate, | 60 RenderFrameHostManager::Delegate* manager_delegate, |
| 62 blink::WebTreeScopeType scope, | 61 blink::WebTreeScopeType scope, |
| 63 const std::string& name, | 62 const std::string& name, |
| 64 const std::string& unique_name, | 63 const std::string& unique_name, |
| 65 const blink::WebFrameOwnerProperties& frame_owner_properties); | 64 const blink::WebFrameOwnerProperties& frame_owner_properties); |
| 66 | 65 |
| 67 ~FrameTreeNode(); | 66 ~FrameTreeNode(); |
| 68 | 67 |
| 69 void AddObserver(Observer* observer); | 68 void AddObserver(Observer* observer); |
| (...skipping 277 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 347 base::ObserverList<Observer> observers_; | 346 base::ObserverList<Observer> observers_; |
| 348 | 347 |
| 349 base::TimeTicks last_focus_time_; | 348 base::TimeTicks last_focus_time_; |
| 350 | 349 |
| 351 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); | 350 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); |
| 352 }; | 351 }; |
| 353 | 352 |
| 354 } // namespace content | 353 } // namespace content |
| 355 | 354 |
| 356 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ | 355 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_NODE_H_ |
| OLD | NEW |