diff options
author | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-21 16:41:34 +0000 |
---|---|---|
committer | sky@google.com <sky@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2008-08-21 16:41:34 +0000 |
commit | e4f2d631670f61c442fca79ce08050a90fb35505 (patch) | |
tree | 5c0bb0352e609b4aa3f4dc23b38deb99e8eb4853 /chrome/app/theme | |
parent | 70a41f29d64a3f5198149016293ab9ae5d23a03d (diff) | |
download | chromium_src-e4f2d631670f61c442fca79ce08050a90fb35505.zip chromium_src-e4f2d631670f61c442fca79ce08050a90fb35505.tar.gz chromium_src-e4f2d631670f61c442fca79ce08050a90fb35505.tar.bz2 |
Makes resize of custom frame window a bit smoother. I tried a whole
slew of variations, and this is the best I could get. From nc calc
size we now return WVR_REDRAW, which indicates we need to redraw the
frame. Without this I believe windows was copying some bits around for
us resulting in the jitter. Additionally in OnNCPaint we do nothing if
the root view's size isn't the same as the window's size. This is done
as during resizes we get a WM_NCPAINT *before* a WM_SIZE. We also get
a WM_NCPAINT after the WM_SIZE, so that it's ok to ignore the first
one.
BUG=1293978
TEST=make sure sizing of task manager/keyword editor doesn't break.
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@1157 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/app/theme')
0 files changed, 0 insertions, 0 deletions