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

Issue 10270021: Make all the menu UI consitent with the new chromeos menu spec. (Closed)

Created:
8 years, 7 months ago by jennyz
Modified:
8 years, 7 months ago
Reviewers:
sky
CC:
chromium-reviews, tfarina
Visibility:
Public.

Description

Implement Aura Menu spec for the color specification part. http://www.corp.google.com/~kenmoore/mocks/chromeos/Misc_2012/Menus/markup1/menu4.html Menu text enabled color, button enabled text color, label enabled text color are set to #222. Menu text disabled color, button disabled text color, label disabled text color are set to #999. Menu keyboard shortcut text color is set to #999. Menu item hover background color is set to #f1f1f1. BUG=122858 TEST=Menu spec for all the color is implemented, see code review description for details. Committed: http://src.chromium.org/viewvc/chrome?view=rev&revision=134645

Patch Set 1 #

Total comments: 4

Patch Set 2 : Improve code from the code review comments. #

Patch Set 3 : Nit: remove an extra blank line. #

Total comments: 2

Patch Set 4 : Give back the text_color initialization in menu_config.cc. #

Unified diffs Side-by-side diffs Delta from patch set Stats (+42 lines, -26 lines) Patch
M ui/gfx/native_theme.h View 1 chunk +4 lines, -0 lines 0 comments Download
M ui/gfx/native_theme_aura.cc View 2 chunks +15 lines, -4 lines 0 comments Download
M ui/gfx/native_theme_win.cc View 3 chunks +13 lines, -0 lines 0 comments Download
M ui/views/controls/label.cc View 1 2 chunks +7 lines, -22 lines 0 comments Download
M ui/views/controls/menu/menu_config_views.cc View 1 1 chunk +3 lines, -0 lines 0 comments Download

Messages

Total messages: 8 (0 generated)
jennyz
8 years, 7 months ago (2012-04-30 20:27:07 UTC) #1
sky
http://codereview.chromium.org/10270021/diff/1/chrome/browser/ui/views/wrench_menu.cc File chrome/browser/ui/views/wrench_menu.cc (right): http://codereview.chromium.org/10270021/diff/1/chrome/browser/ui/views/wrench_menu.cc#newcode302 chrome/browser/ui/views/wrench_menu.cc:302: button->SetEnabledColor(MenuConfig::instance().text_color); Instead of this, initialize text_color in menu_config_views (or ...
8 years, 7 months ago (2012-04-30 20:52:04 UTC) #2
jennyz
http://codereview.chromium.org/10270021/diff/1/chrome/browser/ui/views/wrench_menu.cc File chrome/browser/ui/views/wrench_menu.cc (right): http://codereview.chromium.org/10270021/diff/1/chrome/browser/ui/views/wrench_menu.cc#newcode302 chrome/browser/ui/views/wrench_menu.cc:302: button->SetEnabledColor(MenuConfig::instance().text_color); On 2012/04/30 20:52:05, sky wrote: > Instead of ...
8 years, 7 months ago (2012-04-30 21:23:09 UTC) #3
jennyz
8 years, 7 months ago (2012-04-30 21:26:08 UTC) #4
sky
LGTM with the following change. Thanks! http://codereview.chromium.org/10270021/diff/8001/ui/views/controls/menu/menu_config.cc File ui/views/controls/menu/menu_config.cc (left): http://codereview.chromium.org/10270021/diff/8001/ui/views/controls/menu/menu_config.cc#oldcode16 ui/views/controls/menu/menu_config.cc:16: : text_color(SK_ColorBLACK), Leave ...
8 years, 7 months ago (2012-04-30 21:29:59 UTC) #5
jennyz
http://codereview.chromium.org/10270021/diff/8001/ui/views/controls/menu/menu_config.cc File ui/views/controls/menu/menu_config.cc (left): http://codereview.chromium.org/10270021/diff/8001/ui/views/controls/menu/menu_config.cc#oldcode16 ui/views/controls/menu/menu_config.cc:16: : text_color(SK_ColorBLACK), On 2012/04/30 21:29:59, sky wrote: > Leave ...
8 years, 7 months ago (2012-04-30 21:37:56 UTC) #6
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-status.appspot.com/cq/jennyz@chromium.org/10270021/9002
8 years, 7 months ago (2012-04-30 21:38:07 UTC) #7
commit-bot: I haz the power
8 years, 7 months ago (2012-04-30 23:59:46 UTC) #8
Change committed as 134645

Powered by Google App Engine
This is Rietveld 408576698