summaryrefslogtreecommitdiffstats
path: root/chrome/browser/web_contents.h
diff options
context:
space:
mode:
authorjoshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 18:32:10 +0000
committerjoshia@google.com <joshia@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2008-09-23 18:32:10 +0000
commite384e4eea921ecc0cf8b0004896ea7ced09b4f87 (patch)
treedda8d5a4a05a98d6d324e9ae29db9ffc8d29849d /chrome/browser/web_contents.h
parent6ccc0a26aa6529468ca6403559cf52c581d4c4ea (diff)
downloadchromium_src-e384e4eea921ecc0cf8b0004896ea7ced09b4f87.zip
chromium_src-e384e4eea921ecc0cf8b0004896ea7ced09b4f87.tar.gz
chromium_src-e384e4eea921ecc0cf8b0004896ea7ced09b4f87.tar.bz2
Fix bottom right resize corner flicker during size.
Handle WM_NCPAINT and handle it (do nothing) instead of passing it down to DefWindowProc. B=2577 TEST=resizing window using botom right corner and watch for any odd GUI effects. Review URL: http://codereview.chromium.org/3192 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@2501 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/web_contents.h')
-rw-r--r--chrome/browser/web_contents.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/web_contents.h b/chrome/browser/web_contents.h
index e337068..fdb0fff 100644
--- a/chrome/browser/web_contents.h
+++ b/chrome/browser/web_contents.h
@@ -516,6 +516,7 @@ class WebContents : public TabContents,
virtual void OnWindowPosChanged(WINDOWPOS* window_pos);
virtual void OnSize(UINT param, const CSize& size);
virtual LRESULT OnNCCalcSize(BOOL w_param, LPARAM l_param);
+ virtual void OnNCPaint(HRGN rgn);
// Callback from HistoryService for our request for a favicon.
void OnFavIconData(HistoryService::Handle handle,