Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 4cbbcec679ac4453ec930b28183b212f5fb6aa31..4a0ad86c233874a3c95ce4cd26bc539df26fe4c5 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -456,6 +456,11 @@ class WebContents : public PageNavigator, |
// Does this have an opener associated with it? |
virtual bool HasOpener() const = 0; |
+ // True if this WebContents was created with an opener. HasOpener() becomes |
+ // calls if the opener is closed while this remains true. (Relevant for |
+ // whether window.close() is allowed.) |
Charlie Reis
2014/04/05 01:41:25
I'm having trouble reading this. s/calls/false/?
davidben
2014/04/07 17:57:52
Removed the additional method for now since we're
|
+ virtual bool CreatedWithOpener() const = 0; |
+ |
typedef base::Callback<void( |
int, /* id */ |
int, /* HTTP status code */ |