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

Issue 2087893002: [cocoa] increase tab strip contrast in "Increase Contrast" mode (Closed)

Created:
4 years, 6 months ago by Elly Fong-Jones
Modified:
4 years, 6 months ago
Reviewers:
Mark Mentovai, Nico
CC:
chromium-reviews, asanka, dbeam+watch-downloads_chromium.org
Base URL:
https://chromium.googlesource.com/chromium/src.git@master
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

[cocoa] increase tab strip contrast in "Increase Contrast" mode With this change, when the "Increase Contrast" accessibility option is enabled: 1) The tab strip's bottom border is drawn in black instead of grey 2) Tab edges are drawn in black instead of grey 3) The active tab's title is bolded BUG=619922 Committed: https://crrev.com/0877d7c2bf39b6179782438f55966754be8ef2a5 Cr-Commit-Position: refs/heads/master@{#401648}

Patch Set 1 #

Total comments: 6

Patch Set 2 : stop using IsOS*() #

Total comments: 3

Patch Set 3 : add enum StrokeStyle #

Patch Set 4 : fix build break in cocoa unit tests #

Patch Set 5 : fix 10.9 detection & themeless windows #

Unified diffs Side-by-side diffs Delta from patch set Stats (+141 lines, -27 lines) Patch
M chrome/browser/themes/theme_service.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/themes/theme_service_mac.mm View 1 2 chunks +16 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/bookmarks/bookmark_bar_controller_unittest.mm View 1 2 3 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/download/background_theme.h View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/download/background_theme.mm View 1 chunk +4 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_strip_view.mm View 2 chunks +12 lines, -5 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_view.h View 1 chunk +7 lines, -0 lines 0 comments Download
M chrome/browser/ui/cocoa/tabs/tab_view.mm View 1 2 3 4 13 chunks +91 lines, -22 lines 0 comments Download
M ui/base/default_theme_provider.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/base/default_theme_provider_mac.mm View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/base/theme_provider.h View 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 32 (17 generated)
Elly Fong-Jones
mark: ptal? :)
4 years, 6 months ago (2016-06-21 17:56:10 UTC) #3
Mark Mentovai
LGTM If this code normally does do OS version checks instead of respondsToSelector/non-null symbol checks, ...
4 years, 6 months ago (2016-06-21 19:58:54 UTC) #4
Elly Fong-Jones
https://codereview.chromium.org/2087893002/diff/1/chrome/browser/themes/theme_service_mac.mm File chrome/browser/themes/theme_service_mac.mm (right): https://codereview.chromium.org/2087893002/diff/1/chrome/browser/themes/theme_service_mac.mm#newcode418 chrome/browser/themes/theme_service_mac.mm:418: if (base::mac::IsOSYosemiteOrLater()) On 2016/06/21 19:58:54, Mark Mentovai wrote: > ...
4 years, 6 months ago (2016-06-21 20:25:36 UTC) #5
Elly Fong-Jones
thakis: ptal as ui owner? :)
4 years, 6 months ago (2016-06-21 20:26:12 UTC) #7
Nico
lgtm! https://codereview.chromium.org/2087893002/diff/20001/chrome/browser/ui/cocoa/tabs/tab_view.mm File chrome/browser/ui/cocoa/tabs/tab_view.mm (right): https://codereview.chromium.org/2087893002/diff/20001/chrome/browser/ui/cocoa/tabs/tab_view.mm#newcode73 chrome/browser/ui/cocoa/tabs/tab_view.mm:73: NSImage* imageForResourceID(int resource_id, bool heavy_stroke) { nit: prefer ...
4 years, 6 months ago (2016-06-21 20:40:22 UTC) #8
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087893002/40001
4 years, 6 months ago (2016-06-22 14:55:46 UTC) #11
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_compile_dbg_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_compile_dbg_ng/builds/222886)
4 years, 6 months ago (2016-06-22 15:04:19 UTC) #13
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087893002/60001
4 years, 6 months ago (2016-06-22 15:16:40 UTC) #16
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087893002/60001
4 years, 6 months ago (2016-06-22 15:17:50 UTC) #19
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/248345)
4 years, 6 months ago (2016-06-22 16:28:58 UTC) #21
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087893002/60001
4 years, 6 months ago (2016-06-22 17:26:51 UTC) #23
commit-bot: I haz the power
Try jobs failed on following builders: mac_chromium_rel_ng on tryserver.chromium.mac (JOB_FAILED, http://build.chromium.org/p/tryserver.chromium.mac/builders/mac_chromium_rel_ng/builds/248495)
4 years, 6 months ago (2016-06-22 20:03:51 UTC) #25
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/patch-status/2087893002/80001
4 years, 6 months ago (2016-06-23 17:05:00 UTC) #28
commit-bot: I haz the power
Committed patchset #5 (id:80001)
4 years, 6 months ago (2016-06-23 17:53:07 UTC) #30
commit-bot: I haz the power
4 years, 6 months ago (2016-06-23 17:55:19 UTC) #32
Message was sent while issue was closed.
Patchset 5 (id:??) landed as
https://crrev.com/0877d7c2bf39b6179782438f55966754be8ef2a5
Cr-Commit-Position: refs/heads/master@{#401648}

Powered by Google App Engine
This is Rietveld 408576698