Chromium Code Reviews| Index: content/browser/web_contents/web_contents_node.h |
| diff --git a/content/browser/web_contents/web_contents_node.h b/content/browser/web_contents/web_contents_node.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..3845ab1b14c8b68188627bb9229408cbcf5ce3b7 |
| --- /dev/null |
| +++ b/content/browser/web_contents/web_contents_node.h |
| @@ -0,0 +1,26 @@ |
| +#ifndef CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_NODE_H_ |
| +#define CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_NODE_H_ |
| + |
| +namespace content { |
| + |
| +class WebContentsImpl; |
| + |
| +class WebContentsNode { |
|
Charlie Reis
2015/04/08 23:42:11
No one outside WebContentsImpl seems to need this.
lazyboy
2015/04/14 01:38:04
Done.
|
| + public: |
| + WebContentsNode(); |
| + ~WebContentsNode(); |
| + |
| + void set_parent_web_contents(WebContentsImpl* parent_web_contents) { |
| + parent_web_contents_ = parent_web_contents; |
| + } |
| + WebContentsImpl* parent_web_contents() { |
| + return parent_web_contents_; |
| + } |
| + |
| + private: |
| + WebContentsImpl* parent_web_contents_; |
| +}; |
| + |
| +} // namespace content |
| + |
| +#endif // CONTENT_BROWSER_WEB_CONTENTS_WEB_CONTENTS_NODE_H_ |