| Index: chrome/browser/ui/cocoa/nsmenuitem_additions.h
|
| diff --git a/chrome/browser/ui/cocoa/nsmenuitem_additions.h b/chrome/browser/ui/cocoa/nsmenuitem_additions.h
|
| index 830498ae9fd86c00fb0b91ac4c4af4d5dca399f9..289926a3679aa6cf5ebd54e272eb2046a3ec4cd0 100644
|
| --- a/chrome/browser/ui/cocoa/nsmenuitem_additions.h
|
| +++ b/chrome/browser/ui/cocoa/nsmenuitem_additions.h
|
| @@ -12,8 +12,13 @@
|
|
|
| // Returns true exactly if the menu item would fire if it would be put into
|
| // a menu and then |menu performKeyEquivalent:event| was called.
|
| +// This method always returns NO if the menu item is not enabled.
|
| - (BOOL)cr_firesForKeyEvent:(NSEvent*)event;
|
|
|
| +// Like above method, but this method matches the key equivalent regardless of
|
| +// the menu item's enable state.
|
| +- (BOOL)cr_firesForKeyEventIfEnabled:(NSEvent*)event;
|
| +
|
| @end
|
|
|
| #endif // CHROME_BROWSER_UI_COCOA_NSMENUITEM_ADDITIONS_H_
|
|
|