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

Unified Diff: content/browser/renderer_host/render_view_host_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/renderer_host/render_view_host_delegate.h
diff --git a/content/browser/renderer_host/render_view_host_delegate.h b/content/browser/renderer_host/render_view_host_delegate.h
index f6ff3655382b6400a3f1f8955f15a7356c5f7280..d2407bcf308bb566012ea7318b1e9627049bd479 100644
--- a/content/browser/renderer_host/render_view_host_delegate.h
+++ b/content/browser/renderer_host/render_view_host_delegate.h
@@ -486,6 +486,9 @@ class RenderViewHostDelegate : public IPC::Channel::Listener {
bool RequestDesktopNotificationPermission(const GURL& source_origin,
int callback_context);
+ // Returns ture iff the render view host is hidden.
brettw 2011/05/18 22:11:38 ture -> true. iff -> if ("only if" is meaningless
Shishir 2011/05/20 03:48:19 Done.
+ virtual bool IsHidden() const { return false; }
+
protected:
virtual ~RenderViewHostDelegate() {}
};

Powered by Google App Engine
This is Rietveld 408576698