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

Issue 2700473002: MenuItemView: use disabled text color for subtitles too (Closed)

Created:
3 years, 10 months ago by Tom (Use chromium acct)
Modified:
3 years, 10 months ago
Reviewers:
Elliot Glaysher, sky
CC:
chromium-reviews, tfarina
Target Ref:
refs/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

MenuItemView: use disabled text color for subtitles too Previously, the subtitle text color was * SelectedMenuItemForegroundColor, if the menuitem is selected * MenuItemSubtitleColor, otherwise This CL changes the rule to be * SelectedMenuItemForegroundColor, if the menuitem is selected * DisabledMenuItemForegroundColor, if the menuitem is disabled * MenuItemSubtitleColor, otherwise Linux Aura, CrOS, and Windows all have MenuItemSubtitleColor == DisabledMenuItemForegroundColor and so should be unaffected. BUG=692745 R=sky@chromium.org,erg@chromium.org Review-Url: https://codereview.chromium.org/2700473002 Cr-Commit-Position: refs/heads/master@{#451061} Committed: https://chromium.googlesource.com/chromium/src/+/0e218d087a65e901c83276329540765ebd087c13

Patch Set 1 #

Total comments: 2
Unified diffs Side-by-side diffs Delta from patch set Stats (+34 lines, -27 lines) Patch
M chrome/browser/ui/libgtkui/native_theme_gtk3.cc View 2 chunks +4 lines, -2 lines 2 comments Download
M ui/views/controls/menu/menu_item_view.h View 2 chunks +7 lines, -1 line 0 comments Download
M ui/views/controls/menu/menu_item_view.cc View 5 chunks +23 lines, -24 lines 0 comments Download

Messages

Total messages: 15 (8 generated)
Tom (Use chromium acct)
reviewers ptal erg: chrome/browser/ui/libgtkui/native_theme_gtk3.cc sky: ui/views/controls/menu/menu_item_view.h ui/views/controls/menu/menu_item_view.cc https://codereview.chromium.org/2700473002/diff/20001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc File chrome/browser/ui/libgtkui/native_theme_gtk3.cc (right): https://codereview.chromium.org/2700473002/diff/20001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc#newcode116 chrome/browser/ui/libgtkui/native_theme_gtk3.cc:116: return GetFgColor("GtkMenu#menu ...
3 years, 10 months ago (2017-02-15 21:33:18 UTC) #3
Elliot Glaysher
native theme lgtm https://codereview.chromium.org/2700473002/diff/20001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc File chrome/browser/ui/libgtkui/native_theme_gtk3.cc (right): https://codereview.chromium.org/2700473002/diff/20001/chrome/browser/ui/libgtkui/native_theme_gtk3.cc#newcode116 chrome/browser/ui/libgtkui/native_theme_gtk3.cc:116: return GetFgColor("GtkMenu#menu GtkMenuItem#menuitem #accelerator"); On 2017/02/15 ...
3 years, 10 months ago (2017-02-15 21:48:19 UTC) #5
sky
LGTM
3 years, 10 months ago (2017-02-15 23:32:41 UTC) #6
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/2700473002/20001
3 years, 10 months ago (2017-02-15 23:51:47 UTC) #8
commit-bot: I haz the power
Try jobs failed on following builders: chromeos_daisy_chromium_compile_only_ng on master.tryserver.chromium.linux (JOB_TIMED_OUT, no build URL) linux_chromium_asan_rel_ng on ...
3 years, 10 months ago (2017-02-16 01:55:41 UTC) #10
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/2700473002/20001
3 years, 10 months ago (2017-02-16 18:42:15 UTC) #12
commit-bot: I haz the power
3 years, 10 months ago (2017-02-16 19:48:46 UTC) #15
Message was sent while issue was closed.
Committed patchset #1 (id:20001) as
https://chromium.googlesource.com/chromium/src/+/0e218d087a65e901c83276329540...

Powered by Google App Engine
This is Rietveld 408576698