Commit 58866edd authored by estade@chromium.org's avatar estade@chromium.org

Fix text color of WrenchMenu buttons on Linux Aura.

The color needs to come from the menu's own native theme.

BUG=347832

Review URL: https://codereview.chromium.org/245863002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276862 0039d316-1c4b-4281-b951-d872f2087c98
parent 241a91f8
......@@ -51,8 +51,6 @@ class WrenchMenu : public views::MenuDelegate,
// Whether the menu is currently visible to the user.
bool IsShowing();
const views::MenuConfig& GetMenuConfig() const;
bool use_new_menu() const { return use_new_menu_; }
void AddObserver(WrenchMenuObserver* observer);
......@@ -112,8 +110,6 @@ class WrenchMenu : public views::MenuDelegate,
typedef std::pair<ui::MenuModel*,int> Entry;
typedef std::map<int,Entry> CommandIDToEntry;
const ui::NativeTheme* GetNativeTheme() const;
// Populates |parent| with all the child menus in |model|. Recursively invokes
// |PopulateMenu| for any submenu.
void PopulateMenu(views::MenuItemView* parent,
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment