Index: chrome/browser/ui/cocoa/tabs/tab_controller.mm |
diff --git a/chrome/browser/ui/cocoa/tabs/tab_controller.mm b/chrome/browser/ui/cocoa/tabs/tab_controller.mm |
index 73a667b9065d196036a5616502e0cb150924dbdb..831974f69ea4a964a206c050bc5d6dfe72e608d6 100644 |
--- a/chrome/browser/ui/cocoa/tabs/tab_controller.mm |
+++ b/chrome/browser/ui/cocoa/tabs/tab_controller.mm |
@@ -42,18 +42,17 @@ class MenuDelegate : public ui::SimpleMenuModel::Delegate { |
owner_(owner) {} |
// Overridden from ui::SimpleMenuModel::Delegate |
- virtual bool IsCommandIdChecked(int command_id) const override { |
- return false; |
- } |
- virtual bool IsCommandIdEnabled(int command_id) const override { |
+ bool IsCommandIdChecked(int command_id) const override { return false; } |
+ bool IsCommandIdEnabled(int command_id) const override { |
TabStripModel::ContextMenuCommand command = |
static_cast<TabStripModel::ContextMenuCommand>(command_id); |
return [target_ isCommandEnabled:command forController:owner_]; |
} |
- virtual bool GetAcceleratorForCommandId( |
- int command_id, |
- ui::Accelerator* accelerator) override { return false; } |
- virtual void ExecuteCommand(int command_id, int event_flags) override { |
+ bool GetAcceleratorForCommandId(int command_id, |
+ ui::Accelerator* accelerator) override { |
+ return false; |
+ } |
+ void ExecuteCommand(int command_id, int event_flags) override { |
TabStripModel::ContextMenuCommand command = |
static_cast<TabStripModel::ContextMenuCommand>(command_id); |
[target_ commandDispatch:command forController:owner_]; |