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_RENDERER_HOST_FRAME_TREE_H_ | 5 #ifndef CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_H_ |
6 #define CONTENT_BROWSER_RENDERER_HOST_FRAME_TREE_H_ | 6 #define CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 | 9 |
10 #include "base/callback.h" | 10 #include "base/callback.h" |
11 #include "base/memory/scoped_ptr.h" | 11 #include "base/memory/scoped_ptr.h" |
12 #include "content/browser/renderer_host/frame_tree_node.h" | 12 #include "content/browser/frame_host/frame_tree_node.h" |
13 #include "content/common/content_export.h" | 13 #include "content/common/content_export.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 class FrameTreeNode; | 17 class FrameTreeNode; |
18 class RenderProcessHost; | 18 class RenderProcessHost; |
19 class RenderViewHostImpl; | 19 class RenderViewHostImpl; |
20 | 20 |
21 // Represents the frame tree for a page. With the exception of the main frame, | 21 // Represents the frame tree for a page. With the exception of the main frame, |
22 // all FrameTreeNodes will be created/deleted in response to frame attach and | 22 // all FrameTreeNodes will be created/deleted in response to frame attach and |
(...skipping 70 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
93 | 93 |
94 scoped_ptr<FrameTreeNode> root_; | 94 scoped_ptr<FrameTreeNode> root_; |
95 | 95 |
96 base::Callback<void(RenderViewHostImpl*, int64)> on_frame_removed_; | 96 base::Callback<void(RenderViewHostImpl*, int64)> on_frame_removed_; |
97 | 97 |
98 DISALLOW_COPY_AND_ASSIGN(FrameTree); | 98 DISALLOW_COPY_AND_ASSIGN(FrameTree); |
99 }; | 99 }; |
100 | 100 |
101 } // namespace content | 101 } // namespace content |
102 | 102 |
103 #endif // CONTENT_BROWSER_RENDERER_HOST_FRAME_TREE_H_ | 103 #endif // CONTENT_BROWSER_FRAME_HOST_FRAME_TREE_H_ |
OLD | NEW |