| Index: content/public/browser/web_contents.h
|
| diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h
|
| index 3e1ed690eb54a397b4dc557f18de0e0b39156b15..964600618beaa7d439609cf47649d857997620db 100644
|
| --- a/content/public/browser/web_contents.h
|
| +++ b/content/public/browser/web_contents.h
|
| @@ -441,6 +441,9 @@ class WebContents : public PageNavigator,
|
| virtual void WasShown() = 0;
|
| virtual void WasHidden() = 0;
|
|
|
| + // Whether the WebContents is visible.
|
| + virtual bool IsVisible() const = 0;
|
| +
|
| // Returns true if the before unload and unload listeners need to be
|
| // fired. The value of this changes over time. For example, if true and the
|
| // before unload listener is executed and allows the user to exit, then this
|
|
|