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

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

Issue 1086283002: Track frame openers in FrameTreeNodes instead of WebContents (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Cleanup in WebContentsImpl Created 5 years, 7 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/public/browser/web_contents.h
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
index 768ece2fc51ef52b0cbccf9d55f9e78944e40084..ecbd653123ada70bb9da888145e51dc5b987c46c 100644
--- a/content/public/browser/web_contents.h
+++ b/content/public/browser/web_contents.h
@@ -100,6 +100,9 @@ class WebContents : public PageNavigator,
// if any.
WebContents* opener;
Charlie Reis 2015/06/03 20:01:37 Let's have frame ID and process ID rather than Web
alexmos 2015/06/05 22:34:32 Done.
+ // The routing id of the frame initiating the open.
+ int opener_render_frame_id;
+
// If the opener is suppressed, then the new WebContents doesn't hold a
// reference to its opener.
bool opener_suppressed;

Powered by Google App Engine
This is Rietveld 408576698