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

Issue 2575343005: Native themes: Add MenuItemSubtitleColor (Closed)

Created:
4 years ago by Tom (Use chromium acct)
Modified:
4 years ago
CC:
chromium-reviews, tfarina, mac-reviews_chromium.org
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Native themes: Add MenuItemSubtitleColor MenuItemView was using ButtonDisabledColor for coloring menuitem subtext (usually used for accelerator shortcuts). However, Adwaita on Gtk3.0 uses the same color for disabled button text as for menu backgrounds, meaning menuitem subtext appeared invisible. This CL adds MenuItemSubtitleColor to fix this issue. BUG=132847 R=sky@chromium.org,erg@chromium.org Committed: https://crrev.com/5826565d029a694c6e8ca9db19c067c9895ec77d Cr-Commit-Position: refs/heads/master@{#439854}

Patch Set 1 #

Total comments: 4

Patch Set 2 : Address estade@'s comments #

Unified diffs Side-by-side diffs Delta from patch set Stats (+10 lines, -2 lines) Patch
M chrome/browser/ui/libgtkui/native_theme_gtk2.cc View 1 chunk +1 line, -0 lines 0 comments Download
M chrome/browser/ui/libgtkui/native_theme_gtk3.cc View 1 chunk +2 lines, -0 lines 0 comments Download
M ui/native_theme/common_theme.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download
M ui/native_theme/native_theme.h View 1 chunk +1 line, -0 lines 0 comments Download
M ui/native_theme/native_theme_dark_aura.cc View 1 1 chunk +1 line, -0 lines 0 comments Download
M ui/views/controls/menu/menu_item_view.cc View 2 chunks +2 lines, -2 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 32 (21 generated)
Tom (Use chromium acct)
erg@ please review native_theme_gtk[2,3].cc sky@ please review all other files
4 years ago (2016-12-16 22:50:21 UTC) #8
sky
estade for ui/native_theme ui/views LGTM
4 years ago (2016-12-16 23:30:39 UTC) #10
Elliot Glaysher
native theme lgtm (but i'm not an owner)
4 years ago (2016-12-16 23:33:41 UTC) #11
Elliot Glaysher
On 2016/12/16 23:33:41, Elliot Glaysher wrote: > native theme lgtm (but i'm not an owner) ...
4 years ago (2016-12-16 23:34:37 UTC) #12
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2575343005/20001
4 years ago (2016-12-20 00:34:16 UTC) #16
Evan Stade
https://codereview.chromium.org/2575343005/diff/20001/ui/native_theme/common_theme.cc File ui/native_theme/common_theme.cc (right): https://codereview.chromium.org/2575343005/diff/20001/ui/native_theme/common_theme.cc#newcode187 ui/native_theme/common_theme.cc:187: return kDisabledMenuItemForegroundColor; if you make this return base_theme->GetSystemColor(NativeTheme::kDisabledMenuItemForegroundColor); then ...
4 years ago (2016-12-20 00:39:22 UTC) #17
Tom (Use chromium acct)
https://codereview.chromium.org/2575343005/diff/20001/ui/native_theme/common_theme.cc File ui/native_theme/common_theme.cc (right): https://codereview.chromium.org/2575343005/diff/20001/ui/native_theme/common_theme.cc#newcode187 ui/native_theme/common_theme.cc:187: return kDisabledMenuItemForegroundColor; On 2016/12/20 00:39:22, Evan Stade wrote: > ...
4 years ago (2016-12-20 01:03:19 UTC) #19
Evan Stade
lgtm
4 years ago (2016-12-20 18:31:11 UTC) #24
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2575343005/40001
4 years ago (2016-12-20 18:43:02 UTC) #27
commit-bot: I haz the power
Committed patchset #2 (id:40001)
4 years ago (2016-12-20 18:49:48 UTC) #30
commit-bot: I haz the power
4 years ago (2016-12-20 18:51:29 UTC) #32
Message was sent while issue was closed.
Patchset 2 (id:??) landed as
https://crrev.com/5826565d029a694c6e8ca9db19c067c9895ec77d
Cr-Commit-Position: refs/heads/master@{#439854}

Powered by Google App Engine
This is Rietveld 408576698