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 aa439a1f4a369b2bc11ea901c7b55448a7d3837c..148bb8490e941a5c8f14e9eecc1c3179bce7fe5d 100644 |
--- a/content/browser/web_contents/web_contents_impl.h |
+++ b/content/browser/web_contents/web_contents_impl.h |
@@ -277,6 +277,7 @@ class CONTENT_EXPORT WebContentsImpl |
virtual gfx::Size GetPreferredSize() const OVERRIDE; |
virtual bool GotResponseToLockMouseRequest(bool allowed) OVERRIDE; |
virtual bool HasOpener() const OVERRIDE; |
+ virtual bool CreatedWithOpener() const OVERRIDE; |
virtual void DidChooseColorInColorChooser(SkColor color) OVERRIDE; |
virtual void DidEndColorChooser() OVERRIDE; |
virtual int DownloadImage(const GURL& url, |
@@ -875,6 +876,10 @@ class CONTENT_EXPORT WebContentsImpl |
// is closed. |
WebContentsImpl* opener_; |
+ // True if this tab was opened by another tab. Is not unset when opener is |
+ // closed. |
+ bool created_with_opener_; |
+ |
#if defined(OS_WIN) |
gfx::NativeViewAccessible accessible_parent_; |
#endif |