Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(105)

Issue 7828038: Workaround windows classic theme caption rendering artifacts. (Closed)

Created:
9 years, 3 months ago by msw
Modified:
9 years, 3 months ago
CC:
chromium-reviews, dhollowa
Visibility:
Public.

Description

Workaround windows classic theme rendering artifacts. Wrap DefWindowProc for WM_NCLBUTTONDOWN with ScopedRedrawLock. Update the saved window style to handle max/restore, etc. BUG=89820 TEST=No windows classic theme caption button rendering artifacts when clicking the title bar area. No related mouse event, window re-sizing/style regressions. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=99498

Patch Set 1 : Implement alternate WM_SETREDRAW lock on WM_NCLBUTTONDOWN. #

Patch Set 2 : Use a ScopedRedrawLock and update |saved_window_style_| on WM_NCLBUTTONDOWN. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+15 lines, -19 lines) Patch
M views/widget/native_widget_win.cc View 1 2 chunks +15 lines, -19 lines 0 comments Download

Messages

Total messages: 3 (0 generated)
msw
This workaround seems sufficient for now; PTAL, thanks!
9 years, 3 months ago (2011-09-02 21:32:48 UTC) #1
Ben Goodger (Google)
Assuming window dragging, sizing etc all still work, LGTM.
9 years, 3 months ago (2011-09-02 21:34:11 UTC) #2
commit-bot: I haz the power
9 years, 3 months ago (2011-09-03 01:47:35 UTC) #3
Change committed as 99498

Powered by Google App Engine
This is Rietveld 408576698