Index: content/public/browser/web_contents.h |
diff --git a/content/public/browser/web_contents.h b/content/public/browser/web_contents.h |
index 49ea4cde75b80a1fb743ad92a9b429d356f05365..6df847043a4c22d52edc039ba1754e9f4c0f6fda 100644 |
--- a/content/public/browser/web_contents.h |
+++ b/content/public/browser/web_contents.h |
@@ -332,6 +332,9 @@ class WebContents : public PageNavigator, |
// created or shown with WasShown()). |
virtual base::TimeTicks GetLastActiveTime() const = 0; |
+ // Whether the tab is currently hidden. Note that screenshots or video (e.g. |
+ // mirroring) might be captured from a tab even through it's hidden. |
+ virtual bool IsHiddenIgnoringCapturing() const = 0; |
// Invoked when the WebContents becomes shown/hidden. |
virtual void WasShown() = 0; |
virtual void WasHidden() = 0; |