summaryrefslogtreecommitdiffstats
path: root/webkit/tools/test_shell/webwidget_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'webkit/tools/test_shell/webwidget_host.h')
-rw-r--r--webkit/tools/test_shell/webwidget_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h
index 583c9bf..3bc2ac8 100644
--- a/webkit/tools/test_shell/webwidget_host.h
+++ b/webkit/tools/test_shell/webwidget_host.h
@@ -83,6 +83,10 @@ class WebWidgetHost {
static gfx::WindowHandle CreateWindow(gfx::WindowHandle parent, void* host);
void WindowDestroyed();
void Resize(const gfx::Size& size);
+
+ // Allow clients to update the paint rect. For example, if we get a gdk
+ // expose event, we need to update the paint rect.
+ void UpdatePaintRect(const gfx::Rect& rect);
#endif
void TrackMouseLeave(bool enable);