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

Unified Diff: content/renderer/render_widget.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/renderer/render_widget.h
diff --git a/content/renderer/render_widget.h b/content/renderer/render_widget.h
index 411d102a3aa0fa7d9e6f1afc645171d020f8a7e9..a8adc6c8827343c26a6e7d9c34dd8a99020dd6ab 100644
--- a/content/renderer/render_widget.h
+++ b/content/renderer/render_widget.h
@@ -265,7 +265,8 @@ class CONTENT_EXPORT RenderWidget
RenderWidget(blink::WebPopupType popup_type,
const blink::WebScreenInfo& screen_info,
bool swapped_out,
- bool hidden);
+ bool hidden,
+ bool never_visible);
virtual ~RenderWidget();
@@ -620,6 +621,9 @@ class CONTENT_EXPORT RenderWidget
// Indicates that we shouldn't bother generated paint events.
bool is_hidden_;
+ // Indicates that we are never visible, so never produce graphical output.
+ bool never_visible_;
+
// Indicates that we are in fullscreen mode.
bool is_fullscreen_;

Powered by Google App Engine
This is Rietveld 408576698