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

Unified Diff: content/public/browser/web_contents_delegate.h

Issue 233093006: Stop disabling force_compositing_mode for background RenderViews. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: background: WebContentsDelegate Created 6 years, 8 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/public/browser/web_contents_delegate.h
diff --git a/content/public/browser/web_contents_delegate.h b/content/public/browser/web_contents_delegate.h
index b869a52af7f64752cdecf2221e02ada453e3e4f8..cbea36948e3f0f11c4882c2f746b1e78dbf19ad3 100644
--- a/content/public/browser/web_contents_delegate.h
+++ b/content/public/browser/web_contents_delegate.h
@@ -461,6 +461,9 @@ class CONTENT_EXPORT WebContentsDelegate {
virtual void MoveValidationMessage(WebContents* web_contents,
const gfx::Rect& anchor_in_root_view) {}
+ // Returns true if the WebContents is never visible.
+ virtual bool IsWebContentsNeverVisible(WebContents* web_contents);
jam 2014/04/14 22:43:01 nit: since this is on WebContentsDelegate, the "We
danakj 2014/04/14 22:47:30 Done.
+
protected:
virtual ~WebContentsDelegate();

Powered by Google App Engine
This is Rietveld 408576698