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

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

Issue 212703005: Preserve Page::openedByDOM state across process swaps. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 6 years, 8 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_impl.h
diff --git a/content/browser/web_contents/web_contents_impl.h b/content/browser/web_contents/web_contents_impl.h
index 71421dfb70c871d032a5aaeec90f95779bcdbdd4..cc4f43502b0d9ee7419e13ba4d0953a1cfbc1711 100644
--- a/content/browser/web_contents/web_contents_impl.h
+++ b/content/browser/web_contents/web_contents_impl.h
@@ -896,6 +896,10 @@ class CONTENT_EXPORT WebContentsImpl
// is closed.
WebContentsImpl* opener_;
+ // True if this tab was opened by another tab. This is not unset if the opener
+ // is closed.
+ bool created_with_opener_;
+
#if defined(OS_WIN)
gfx::NativeViewAccessible accessible_parent_;
#endif
« no previous file with comments | « content/browser/web_contents/opened_by_dom_browsertest.cc ('k') | content/browser/web_contents/web_contents_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698