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

Issue 10807023: Fix scrollbar transparency / opacity issues on Windows. (Closed)

Created:
8 years, 5 months ago by ccameron
Modified:
8 years, 5 months ago
CC:
chromium-reviews
Visibility:
Public.

Description

Get rid of recursive calls into NativeThemeWin::Paint, rather, separate it into Paint, PaintDirect, and PaintIndirect (formerly PaintToNonPlatformCanvas). Force "known problematic UI elements" to go through the PaintIndirect path to fix-up their alpha values. This list includes scrollbars in Windows XP or Windows Vista+ with the Windows Classic theme enabled. BUG=131588, 133881, 24524 TEST= Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=148215

Patch Set 1 #

Total comments: 4

Patch Set 2 : Fixes from review feedback. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+56 lines, -13 lines) Patch
M ui/base/native_theme/native_theme_win.h View 1 chunk +15 lines, -5 lines 0 comments Download
M ui/base/native_theme/native_theme_win.cc View 1 3 chunks +41 lines, -8 lines 0 comments Download

Messages

Total messages: 11 (0 generated)
ccameron
8 years, 5 months ago (2012-07-23 21:08:57 UTC) #1
brettw
LGTM, just style nits. https://chromiumcodereview.appspot.com/10807023/diff/1/ui/base/native_theme/native_theme_win.cc File ui/base/native_theme/native_theme_win.cc (right): https://chromiumcodereview.appspot.com/10807023/diff/1/ui/base/native_theme/native_theme_win.cc#newcode290 ui/base/native_theme/native_theme_win.cc:290: bool needsPaintIndirect = false; Style: ...
8 years, 5 months ago (2012-07-23 21:27:07 UTC) #2
ccameron
Thanks! Fixed. https://chromiumcodereview.appspot.com/10807023/diff/1/ui/base/native_theme/native_theme_win.cc File ui/base/native_theme/native_theme_win.cc (right): https://chromiumcodereview.appspot.com/10807023/diff/1/ui/base/native_theme/native_theme_win.cc#newcode290 ui/base/native_theme/native_theme_win.cc:290: bool needsPaintIndirect = false; On 2012/07/23 21:27:07, ...
8 years, 5 months ago (2012-07-23 23:20:36 UTC) #3
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/10807023/4001
8 years, 5 months ago (2012-07-23 23:52:22 UTC) #4
commit-bot: I haz the power
Presubmit check for 10807023-4001 failed and returned exit status 1. Running presubmit commit checks ...
8 years, 5 months ago (2012-07-23 23:52:25 UTC) #5
ccameron
Adding sky and ben to review (OWNERS for the ui directory) -- can one of ...
8 years, 5 months ago (2012-07-24 01:02:27 UTC) #6
ccameron
Adding sky and ben to review (OWNERS for the ui directory) -- can one of ...
8 years, 5 months ago (2012-07-24 01:03:53 UTC) #7
sky
LGTM
8 years, 5 months ago (2012-07-24 04:34:22 UTC) #8
Alexei Svitkine (slow)
LGTM
8 years, 5 months ago (2012-07-24 13:58:19 UTC) #9
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/ccameron@chromium.org/10807023/4001
8 years, 5 months ago (2012-07-24 20:25:36 UTC) #10
commit-bot: I haz the power
8 years, 5 months ago (2012-07-24 21:59:04 UTC) #11
Change committed as 148215

Powered by Google App Engine
This is Rietveld 408576698