Searched refs:NSMenuItem (Results 1 – 21 of 21) sorted by relevance
43 ContextMenuItem::ContextMenuItem(NSMenuItem* item)50 NSMenuItem* item = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""];62 m_platformDescription = [NSMenuItem separatorItem];66 NSMenuItem* item = [[NSMenuItem alloc] initWithTitle:title action:nil keyEquivalent:@""];79 NSMenuItem* ContextMenuItem::releasePlatformDescription()81 NSMenuItem* item = [m_platformDescription.get() retain];113 m_platformDescription = [NSMenuItem separatorItem];
38 - (BOOL)validateMenuItem:(NSMenuItem *)item; argument68 - (BOOL)validateMenuItem:(NSMenuItem *)item101 static void setMenuItemTarget(NSMenuItem* menuItem)112 NSMenuItem* platformItem = item.releasePlatformDescription();125 NSMenuItem* platformItem = item.releasePlatformDescription();
79 [[m_popup.get() menu] addItem:[NSMenuItem separatorItem]];91 NSMenuItem* menuItem = [m_popup.get() lastItem];
37 @class NSMenuItem;39 class NSMenuItem; variable153 typedef NSMenuItem* PlatformMenuItemDescription;247 RetainPtr<NSMenuItem> m_platformDescription;
108 NSMenuItem *menuItem;132 NSMenuItem *menuItem;143 [appleMenu addItem:[NSMenuItem separatorItem]];148 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl…153 [appleMenu addItem:[NSMenuItem separatorItem]];160 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""];176 NSMenuItem *windowMenuItem;177 NSMenuItem *menuItem;182 …menuItem = [[NSMenuItem alloc] initWithTitle:@"Minimize" action:@selector(performMiniaturize:) key…187 windowMenuItem = [[NSMenuItem alloc] initWithTitle:@"Window" action:nil keyEquivalent:@""];
55 - (NSMenuItem *)menuItemWithTag:(int)tag target:(id)target representedObject:(id)representedObject57 NSMenuItem *menuItem = [[[NSMenuItem alloc] init] autorelease];121 [menuItems addObject:[NSMenuItem separatorItem]];124 NSMenuItem *item;146 [menuItems addObject:[NSMenuItem separatorItem]];154 [menuItems addObject:[NSMenuItem separatorItem]];
226 - (void)webView:(WebView *)sender contextMenuItemSelected:(NSMenuItem *)item forElement:(NSDictiona…
73 …NSMenuItem *item = [[NSMenuItem alloc] initWithTitle:@"Open URL" action:@selector(_openURL:) keyEq…78 …item = [[NSMenuItem alloc] initWithTitle:@"Disabled Item" action:@selector(_disabledItem:) keyEqui…
84 NSMenuItem *secondToLastItem = [defaultMenuItems objectAtIndex:defaultItemsCount - 2];85 NSMenuItem *lastItem = [defaultMenuItems objectAtIndex:defaultItemsCount - 1];104 NSMenuItem *item = [defaultMenuItems objectAtIndex:i];163 NSMenuItem *item = [newMenuItems objectAtIndex:i];309 NSMenuItem *platformItem = item->releasePlatformDescription();
479 BOOL isMenuItem = [(id)item isKindOfClass:[NSMenuItem class]];481 NSMenuItem *menuItem = (NSMenuItem *)item;487 NSMenuItem *menuItem = (NSMenuItem *)item;
43 - (NSMenuItem *)addItemWithTitle:(NSString *)title action:(SEL)action tag:(int)tag;48 - (NSMenuItem *)addItemWithTitle:(NSString *)title action:(SEL)action tag:(int)tag50 …NSMenuItem *item = [[[NSMenuItem alloc] initWithTitle:title action:action keyEquivalent:@""] autor…
61 NSMenuItem *item = [self objectAtIndex:index];62 ASSERT([item isKindOfClass:[NSMenuItem class]]);
160 …NSMenuItem *updateMenuItem = [[NSMenuItem alloc] initWithTitle:@"Check for WebKit Updates…" action…
110 - (void)webView:(WebView *)sender contextMenuItemSelected:(NSMenuItem *)item forElement:(NSDictiona…
2550 NSMenuItem *menuItem = (NSMenuItem *)item;2551 if ([menuItem isKindOfClass:[NSMenuItem class]]) {2575 NSMenuItem *menuItem = (NSMenuItem *)item;2576 if ([menuItem isKindOfClass:[NSMenuItem class]]) {2586 NSMenuItem *menuItem = (NSMenuItem *)item;2587 if ([menuItem isKindOfClass:[NSMenuItem class]])2593 NSMenuItem *menuItem = (NSMenuItem *)item;2594 if ([menuItem isKindOfClass:[NSMenuItem class]]) {2648 NSMenuItem *menuItem = (NSMenuItem *)item;2649 if ([menuItem isKindOfClass:[NSMenuItem class]])[all …]
3650 if ([(NSObject *)item isKindOfClass:[NSMenuItem class]]) {3651 NSMenuItem *menuItem = (NSMenuItem *)item;3657 if ([(NSObject *)item isKindOfClass:[NSMenuItem class]]) {3658 NSMenuItem *menuItem = (NSMenuItem *)item;3665 if ([(NSObject *)item isKindOfClass:[NSMenuItem class]]) {3666 NSMenuItem *menuItem = (NSMenuItem *)item;3674 if ([(NSObject *)item isKindOfClass:[NSMenuItem class]]) {3675 NSMenuItem *menuItem = (NSMenuItem *)item;3681 if ([(NSObject *)item isKindOfClass:[NSMenuItem class]]) {3682 NSMenuItem *menuItem = (NSMenuItem *)item;[all …]
129 - (void)_openFrameInNewWindowFromMenu:(NSMenuItem *)sender;
354 …NSMenuItem *item = [[NSMenuItem alloc] initWithTitle:title action:@selector(_openWithFinder:) keyE…361 [items insertObject:[NSMenuItem separatorItem] atIndex:1];380 [menu addItem:[NSMenuItem separatorItem]];382 NSMenuItem *menuItem;1015 NSMenuItem *item;1116 NSMenuItem *item;1126 NSMenuItem *itemCopy = [item copy];
1793 <rdar://problem/5356666> NSMenuItem's seen leaking on buildbot6481 representedObject on every NSMenuItem to match our old (correct) API
6400 m_subMenu in addition to setting the submenu of the NSMenuItem when6778 (WebCore::ContextMenuItem::ContextMenuItem): Use the NSMenuItem 7731 make this class basically just be a wrapper for NSMenuItem.
14336 <rdar://problem/5356666> NSMenuItem's seen leaking on buildbot