| Index: chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| diff --git a/chrome/browser/tab_contents/tab_contents_view_mac.mm b/chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| index 03baffc6fe004848ad63cf3614ab5e4eca084361..2a80f22cebf16400445898d01278a8fe1ef0bea8 100644
|
| --- a/chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| +++ b/chrome/browser/tab_contents/tab_contents_view_mac.mm
|
| @@ -294,6 +294,12 @@ void TabContentsViewMac::Observe(NotificationType type,
|
| }
|
|
|
| - (void)processKeyboardEvent:(NSEvent*)event {
|
| + if ([event type] == NSKeyDown && ([event modifierFlags] & NSCommandKeyMask)) {
|
| + // We need to dispatch this to the menu.
|
| + if ([[NSApp mainMenu] performKeyEquivalent:event])
|
| + return;
|
| + }
|
| +
|
| // If this tab is no longer active, it's window will be |nil|. In that case,
|
| // best ignore the event.
|
| if (![self window])
|
|
|