Index: chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm |
diff --git a/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm b/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm |
index 55d029b33ea35d6139a08f158eda74659b3de6d9..56c1bad9247e015aa43cec935757bc29f0f29e01 100644 |
--- a/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm |
+++ b/chrome/browser/ui/cocoa/website_settings/permission_bubble_controller.mm |
@@ -53,18 +53,13 @@ class MenuDelegate : public ui::SimpleMenuModel::Delegate { |
public: |
explicit MenuDelegate(PermissionBubbleController* bubble) |
: bubble_controller_(bubble) {} |
- virtual bool IsCommandIdChecked(int command_id) const override { |
+ bool IsCommandIdChecked(int command_id) const override { return false; } |
+ bool IsCommandIdEnabled(int command_id) const override { return true; } |
+ bool GetAcceleratorForCommandId(int command_id, |
+ ui::Accelerator* accelerator) override { |
return false; |
} |
- virtual bool IsCommandIdEnabled(int command_id) const override { |
- return true; |
- } |
- virtual bool GetAcceleratorForCommandId( |
- int command_id, |
- ui::Accelerator* accelerator) override { |
- return false; |
- } |
- virtual void ExecuteCommand(int command_id, int event_flags) override { |
+ void ExecuteCommand(int command_id, int event_flags) override { |
[bubble_controller_ onMenuItemClicked:command_id]; |
} |
private: |