Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(70)

Unified Diff: content/browser/web_contents/web_contents_node.h

Issue 972313002: Make <webview> use out-of-process iframe architecture. (Closed) Base URL: ssh://saopaulo.wat/mnt/dev/shared/src@testoopif2z-better-chrome
Patch Set: some review comments addressed Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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_

Powered by Google App Engine
This is Rietveld 408576698