diff options
author | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 19:39:36 +0000 |
---|---|---|
committer | tc@google.com <tc@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-11-14 19:39:36 +0000 |
commit | 985df7f10b022a58dd7111e470fac9ded5be40dd (patch) | |
tree | 6c73dae99611a97663e589ef901743d2bb815fb5 /webkit/tools/test_shell/webwidget_host.h | |
parent | c42f20260ca942b40c3687065469829d48b5c979 (diff) | |
download | chromium_src-985df7f10b022a58dd7111e470fac9ded5be40dd.zip chromium_src-985df7f10b022a58dd7111e470fac9ded5be40dd.tar.gz chromium_src-985df7f10b022a58dd7111e470fac9ded5be40dd.tar.bz2 |
fix windows painting by redrawing the area
WM_PAINT requests to be painted
Review URL: http://codereview.chromium.org/10949
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@5494 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/tools/test_shell/webwidget_host.h')
-rw-r--r-- | webkit/tools/test_shell/webwidget_host.h | 11 |
1 files changed, 3 insertions, 8 deletions
diff --git a/webkit/tools/test_shell/webwidget_host.h b/webkit/tools/test_shell/webwidget_host.h index 4f78744..3bb7b5c 100644 --- a/webkit/tools/test_shell/webwidget_host.h +++ b/webkit/tools/test_shell/webwidget_host.h @@ -42,20 +42,15 @@ class WebWidgetHost { #endif void DiscardBackingStore(); + // Allow clients to update the paint rect. For example, if we get a gdk + // expose or WM_PAINT event, we need to update the paint rect. + void UpdatePaintRect(const gfx::Rect& rect); void Paint(); protected: WebWidgetHost(); ~WebWidgetHost(); -#if defined(OS_MACOSX) || defined(OS_LINUX) - public: - // 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); - protected: -#endif - #if defined(OS_WIN) // Per-class wndproc. Returns true if the event should be swallowed. virtual bool WndProc(UINT message, WPARAM wparam, LPARAM lparam); |