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

Issue 456473002: MacViews: Implement scrollbar theming. (Closed)

Created:
6 years, 4 months ago by Andre
Modified:
6 years, 4 months ago
Reviewers:
tapted, sky
CC:
chromium-reviews, mac-views-reviews_chromium.org
Project:
chromium
Visibility:
Public.

Description

MacViews: Implement scrollbar theming. The default views scrollbars look out of place on Mac OS X. As a start, theme the scrollbar drawing to look like the native non-overlay scrollbars. It looks like a simple round-rect that is inset from the track, with a line border next to the content area. BUG=401346 Committed: https://src.chromium.org/viewvc/chrome?view=rev&revision=289486

Patch Set 1 : #

Total comments: 15

Patch Set 2 : Fixes for tapted #

Total comments: 14

Patch Set 3 : Fixes for tapted #

Patch Set 4 : Draw corner view, refine painting. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+162 lines, -1 line) Patch
M ui/native_theme/native_theme_base.h View 1 2 1 chunk +2 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_base.cc View 1 1 chunk +2 lines, -1 line 0 comments Download
M ui/native_theme/native_theme_mac.h View 1 2 3 1 chunk +13 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme_mac.mm View 1 2 3 3 chunks +145 lines, -0 lines 0 comments Download

Messages

Total messages: 10 (0 generated)
Andre
Trent PTAL.
6 years, 4 months ago (2014-08-07 22:19:33 UTC) #1
tapted
I don't think it's worth going half-way (but we could possibly defer the fade-in/out on ...
6 years, 4 months ago (2014-08-11 01:00:58 UTC) #2
Andre
Added screenshots to the bug. There's an issue where PaintScrollbarCorner(..) is never called, I'm looking ...
6 years, 4 months ago (2014-08-12 21:42:38 UTC) #3
tapted
lgtm with the following https://codereview.chromium.org/456473002/diff/40001/ui/native_theme/native_theme_mac.mm File ui/native_theme/native_theme_mac.mm (right): https://codereview.chromium.org/456473002/diff/40001/ui/native_theme/native_theme_mac.mm#newcode279 ui/native_theme/native_theme_mac.mm:279: set_scrollbar_button_length(0); On 2014/08/12 21:42:38, Andre ...
6 years, 4 months ago (2014-08-13 01:13:29 UTC) #4
Andre
Added corner painting. Refined painting, paint outer border line. Updated screenshot on the bug. https://codereview.chromium.org/456473002/diff/60001/ui/native_theme/native_theme_base.cc ...
6 years, 4 months ago (2014-08-13 20:04:22 UTC) #5
Andre
sky@ PTAL.
6 years, 4 months ago (2014-08-13 20:04:49 UTC) #6
sky
LGTM
6 years, 4 months ago (2014-08-13 22:46:39 UTC) #7
Andre
The CQ bit was checked by andresantoso@chromium.org
6 years, 4 months ago (2014-08-13 22:47:50 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/andresantoso@chromium.org/456473002/100001
6 years, 4 months ago (2014-08-13 22:51:00 UTC) #9
commit-bot: I haz the power
6 years, 4 months ago (2014-08-14 08:01:34 UTC) #10
Message was sent while issue was closed.
Committed patchset #4 (100001) as 289486

Powered by Google App Engine
This is Rietveld 408576698