| Index: chrome/browser/ui/views/toolbar/wrench_menu.cc
|
| diff --git a/chrome/browser/ui/views/toolbar/wrench_menu.cc b/chrome/browser/ui/views/toolbar/wrench_menu.cc
|
| index 8a0e57e9091bdb1e42c60dd90b84338d1c84d322..9ca8ae275b40e991736dfcbb911437b367ffaecf 100644
|
| --- a/chrome/browser/ui/views/toolbar/wrench_menu.cc
|
| +++ b/chrome/browser/ui/views/toolbar/wrench_menu.cc
|
| @@ -848,15 +848,10 @@ class WrenchMenu::RecentTabsMenuModelDelegate : public ui::MenuModelDelegate {
|
| return model_->GetLabelFontListAt(index);
|
| }
|
|
|
| - bool GetForegroundColorAt(int index,
|
| - bool is_hovered,
|
| - SkColor* override_color) const {
|
| - // The items for which we get a font list, should be shown in black.
|
| - if (GetLabelFontListAt(index)) {
|
| - *override_color = SK_ColorBLACK;
|
| - return true;
|
| - }
|
| - return false;
|
| + bool GetBoldedDisabled(int index) const {
|
| + // The items for which we get a font list, should be shown in the bolded
|
| + // color.
|
| + return GetLabelFontListAt(index) ? true : false;
|
| }
|
|
|
| // ui::MenuModelDelegate implementation:
|
| @@ -1003,12 +998,10 @@ const gfx::FontList* WrenchMenu::GetLabelFontList(int command_id) const {
|
| return NULL;
|
| }
|
|
|
| -bool WrenchMenu::GetForegroundColor(int command_id,
|
| - bool is_hovered,
|
| - SkColor* override_color) const {
|
| +bool WrenchMenu::GetBoldedDisabled(int command_id) const {
|
| if (IsRecentTabsCommand(command_id)) {
|
| - return recent_tabs_menu_model_delegate_->GetForegroundColorAt(
|
| - ModelIndexFromCommandId(command_id), is_hovered, override_color);
|
| + return recent_tabs_menu_model_delegate_->GetBoldedDisabled(
|
| + ModelIndexFromCommandId(command_id));
|
| }
|
| return false;
|
| }
|
|
|