Chromium Code Reviews| Index: chrome/browser/cocoa/browser_window_controller.mm |
| diff --git a/chrome/browser/cocoa/browser_window_controller.mm b/chrome/browser/cocoa/browser_window_controller.mm |
| index da2ede6310513b7657c18731ceeb43a346f3b164..f9b4d990d13b6a8f7d4d96c0b9c6776e0e245825 100644 |
| --- a/chrome/browser/cocoa/browser_window_controller.mm |
| +++ b/chrome/browser/cocoa/browser_window_controller.mm |
| @@ -671,6 +671,11 @@ willPositionSheet:(NSWindow *)sheet |
| return fullscreen_; |
| } |
| +- (void)executeCommand:(int)command { |
|
pink (ping after 24hrs)
2009/07/08 13:48:17
do you want to re-tool commandDispatch: to go thro
|
| + if (browser_->command_updater()->IsCommandEnabled(command)) |
| + browser_->ExecuteCommand(command); |
| +} |
| + |
| // Called by the bookmark bar to open a URL. |
| - (void)openBookmarkURL:(const GURL&)url |
| disposition:(WindowOpenDisposition)disposition { |