summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/render_widget_host_view_win.h
diff options
context:
space:
mode:
authorpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 18:33:32 +0000
committerpkasting@chromium.org <pkasting@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-04-14 18:33:32 +0000
commitdafa99a9ee99fd8ca6b584ec0d8327fa22ccf32b (patch)
tree089c9ff01b80ca729a06dc82653992b69ea7633b /chrome/browser/renderer_host/render_widget_host_view_win.h
parent52be96635f1adde6a39ded1b802c34ed5f32f076 (diff)
downloadchromium_src-dafa99a9ee99fd8ca6b584ec0d8327fa22ccf32b.zip
chromium_src-dafa99a9ee99fd8ca6b584ec0d8327fa22ccf32b.tar.gz
chromium_src-dafa99a9ee99fd8ca6b584ec0d8327fa22ccf32b.tar.bz2
Fix problems correctly invalidating/repainting when our updated paint rect for a large area came back while we were repainting a smaller area.
Review URL: http://codereview.chromium.org/66013 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@13681 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/render_widget_host_view_win.h')
-rw-r--r--chrome/browser/renderer_host/render_widget_host_view_win.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/render_widget_host_view_win.h b/chrome/browser/renderer_host/render_widget_host_view_win.h
index ceec701..893e129 100644
--- a/chrome/browser/renderer_host/render_widget_host_view_win.h
+++ b/chrome/browser/renderer_host/render_widget_host_view_win.h
@@ -233,6 +233,11 @@ class RenderWidgetHostViewWin :
// true if the View is not visible.
bool is_hidden_;
+ // True if we're in the midst of a paint operation and should respond to
+ // DidPaintRect() notifications by merely invalidating. See comments on
+ // render_widget_host_view.h:DidPaintRect().
+ bool about_to_validate_and_paint_;
+
// true if the View should be closed when its HWND is deactivated (used to
// support SELECT popups which are closed when they are deactivated).
bool close_on_deactivate_;