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_WEB_CONTENTS_FRAME_TREE_NODE_H_ | 5 #ifndef CONTENT_BROWSER_WEB_CONTENTS_FRAME_TREE_NODE_H_ |
6 #define CONTENT_BROWSER_WEB_CONTENTS_FRAME_TREE_NODE_H_ | 6 #define CONTENT_BROWSER_WEB_CONTENTS_FRAME_TREE_NODE_H_ |
7 | 7 |
8 #include <string> | 8 #include <string> |
9 #include <vector> | 9 #include <vector> |
10 | 10 |
11 #include "base/basictypes.h" | 11 #include "base/basictypes.h" |
12 #include "content/common/content_export.h" | 12 #include "content/common/content_export.h" |
13 #include "googleurl/src/gurl.h" | 13 #include "url/gurl.h" |
14 | 14 |
15 namespace content { | 15 namespace content { |
16 | 16 |
17 // Any page that contains iframes has a tree structure of the frames in the | 17 // Any page that contains iframes has a tree structure of the frames in the |
18 // renderer process. We are mirroring this tree in the browser process. This | 18 // renderer process. We are mirroring this tree in the browser process. This |
19 // class represents a node in this tree and is a wrapper for all objects that | 19 // class represents a node in this tree and is a wrapper for all objects that |
20 // are frame-specific (as opposed to page-specific). | 20 // are frame-specific (as opposed to page-specific). |
21 class CONTENT_EXPORT FrameTreeNode { | 21 class CONTENT_EXPORT FrameTreeNode { |
22 public: | 22 public: |
23 FrameTreeNode(int64 frame_id, const std::string& name); | 23 FrameTreeNode(int64 frame_id, const std::string& name); |
(...skipping 43 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
67 // TODO(creis): Remove this when we can store subframe URLs in the | 67 // TODO(creis): Remove this when we can store subframe URLs in the |
68 // NavigationController. | 68 // NavigationController. |
69 GURL current_url_; | 69 GURL current_url_; |
70 | 70 |
71 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); | 71 DISALLOW_COPY_AND_ASSIGN(FrameTreeNode); |
72 }; | 72 }; |
73 | 73 |
74 } // namespace content | 74 } // namespace content |
75 | 75 |
76 #endif // CONTENT_BROWSER_WEB_CONTENTS_FRAME_TREE_NODE_H_ | 76 #endif // CONTENT_BROWSER_WEB_CONTENTS_FRAME_TREE_NODE_H_ |
OLD | NEW |