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

Unified Diff: content/browser/tab_contents/tab_contents_delegate.h

Issue 7036019: Enabling page visibility api in the chrome browser. (Closed) Base URL: http://git.chromium.org/git/chromium.git@trunk
Patch Set: Created 9 years, 7 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/tab_contents/tab_contents_delegate.h
diff --git a/content/browser/tab_contents/tab_contents_delegate.h b/content/browser/tab_contents/tab_contents_delegate.h
index fc9d4e40908aa88edc78248a08b41cbf2fef3061..7f43cf74b2a364753f5cd4a4922f5e58da10b409 100644
--- a/content/browser/tab_contents/tab_contents_delegate.h
+++ b/content/browser/tab_contents/tab_contents_delegate.h
@@ -288,6 +288,9 @@ class TabContentsDelegate {
// Notification that a worker associated with this tab has crashed.
virtual void WorkerCrashed();
+ // Returns true iff the tab contents is not showing.
brettw 2011/05/18 22:11:38 iff -> if
+ virtual bool IsHidden(const TabContents* source) const;
brettw 2011/05/18 22:11:38 Sorry if I led you astray earlier, but it looks li
Shishir 2011/05/19 02:51:25 By TabContentDelegate::View, do you mean RenderWid
brettw 2011/05/19 04:45:09 Is there the opposite problem? i.e. what if we say
Shishir 2011/05/19 18:46:23 The forground tab likely works because we always
+
protected:
virtual ~TabContentsDelegate();
};

Powered by Google App Engine
This is Rietveld 408576698