| Index: chrome/browser/ui/views/profile_menu_button.h
|
| diff --git a/chrome/browser/ui/views/profile_menu_button.h b/chrome/browser/ui/views/profile_menu_button.h
|
| index e9161fa388c799fd01220153621769aef4e00790..262a9a60b3086e2d455bc6d13ab4667edeee5944 100644
|
| --- a/chrome/browser/ui/views/profile_menu_button.h
|
| +++ b/chrome/browser/ui/views/profile_menu_button.h
|
| @@ -34,8 +34,7 @@ class Menu2;
|
| // underneath that displays the profile tag.
|
|
|
| class ProfileMenuButton : public views::MenuButton,
|
| - public views::ViewMenuDelegate,
|
| - public ui::SimpleMenuModel::Delegate {
|
| + public views::ViewMenuDelegate {
|
| public:
|
| // DefaultActiveTextShadow is a darkened blue color that works with Windows
|
| // default theme background coloring.
|
| @@ -54,13 +53,6 @@ class ProfileMenuButton : public views::MenuButton,
|
| // Override MenuButton to clamp text at kMaxTextWidth.
|
| virtual void SetText(const std::wstring& text) OVERRIDE;
|
|
|
| - // ui::SimpleMenuModel::Delegate implementation
|
| - virtual bool IsCommandIdChecked(int command_id) const OVERRIDE;
|
| - virtual bool IsCommandIdEnabled(int command_id) const OVERRIDE;
|
| - virtual bool GetAcceleratorForCommandId(
|
| - int command_id, ui::Accelerator* accelerator) OVERRIDE;
|
| - virtual void ExecuteCommand(int command_id) OVERRIDE;
|
| -
|
| private:
|
| // Overridden from views::ViewMenuDelegate:
|
| virtual void RunMenu(views::View* source, const gfx::Point& pt) OVERRIDE;
|
|
|