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

Unified Diff: chrome/renderer/render_widget.h

Issue 174303: Modify the RenderThread to track the number of widgets... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 11 years, 4 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
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/renderer/render_widget.h
===================================================================
--- chrome/renderer/render_widget.h (revision 24223)
+++ chrome/renderer/render_widget.h (working copy)
@@ -151,6 +151,11 @@
// browser side has updated the screen for a newly painted region.
virtual void DidPaint() {}
+ // Sets the "hidden" state of this widget. All accesses to is_hidden_ should
+ // use this method so that we can properly inform the RenderThread of our
+ // state.
+ void SetHidden(bool hidden);
+
// True if a PaintRect_ACK message is pending.
bool paint_reply_pending() const {
return paint_reply_pending_;
« no previous file with comments | « chrome/renderer/render_thread.cc ('k') | chrome/renderer/render_widget.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698