Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1241)

Unified Diff: chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm

Issue 5576002: Fix BrowserKeyEventsTest.ReservedAccelerators on Mac 10.6 (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Update comment. Created 10 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm
diff --git a/chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm b/chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm
index ecbf07d7456e3090990cc70fed937ce5e1db374e..011ea3689b7e82b81491d1b0780125f0066cdd2d 100644
--- a/chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm
+++ b/chrome/browser/ui/cocoa/nsmenuitem_additions_unittest.mm
@@ -98,12 +98,6 @@ TEST(NSMenuItemAdditionsTest, TestFiresForKeyEvent) {
ExpectKeyFiresItem(key, item);
ExpectKeyDoesntFireItem(KeyEvent(0x20102, @"A", @"A", 0), item);
- // Disabled menu item
- key = KeyEvent(0x100, @"a", @"a", 0);
- item = MenuItem(@"a", 0);
- [item setEnabled:NO];
- ExpectKeyDoesntFireItem(key, item, false);
-
// shift-a
key = KeyEvent(0x20102, @"A", @"A", 0);
item = MenuItem(@"A", 0);

Powered by Google App Engine
This is Rietveld 408576698