/external/webkit/Source/WebCore/platform/win/ |
D | ContextMenuWin.cpp | 92 MENUITEMINFO menuItem = item.nativeMenuItem(); in createNativeMenuFromItems() local 106 title = menuItem.dwTypeData; in createNativeMenuFromItems() 107 menuItem.dwTypeData = 0; in createNativeMenuFromItems() 109 if (menuItem.hSubMenu) { in createNativeMenuFromItems() 111 newItem = reinterpret_cast<UINT>(menuItem.hSubMenu); in createNativeMenuFromItems() 112 menuItem.hSubMenu = 0; in createNativeMenuFromItems() 114 newItem = menuItem.wID; in createNativeMenuFromItems() 123 menuItem.fMask |= MIIM_STRING; in createNativeMenuFromItems() 124 menuItem.cch = itemTitle.length(); in createNativeMenuFromItems() 125 menuItem.dwTypeData = const_cast<LPWSTR>(itemTitle.charactersWithNullTermination()); in createNativeMenuFromItems() [all …]
|
/external/webkit/Source/WebCore/platform/haiku/ |
D | ContextMenuHaiku.cpp | 90 BMenuItem* menuItem = item.releasePlatformDescription(); in appendItem() local 91 if (menuItem) in appendItem() 92 m_platformDescription->AddItem(menuItem); in appendItem() 102 BMenuItem* menuItem = item.releasePlatformDescription(); in insertItem() local 103 if (menuItem) in insertItem() 104 m_platformDescription->AddItem(menuItem, position); in insertItem()
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Cocoa Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL OpenGL Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeLeopard/SDL Cocoa Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL OpenGL Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL OpenGL Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeSnowLeopard/SDL Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/qemu/distrib/sdl-1.2.15/Xcode/TemplatesForXcodeTiger/SDL Cocoa Application/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 131 NSMenuItem *menuItem; 147 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 148 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 159 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/chromium/chrome/browser/ui/cocoa/toolbar/ |
D | back_forward_menu_controller.mm | 68 NSMenuItem* menuItem = [[NSMenuItem alloc] 72 [menuItem autorelease]; 77 [menuItem setImage:SkBitmapToNSImage(icon)]; 81 [menuItem setTag:menuID]; 82 [menuItem setTarget:self]; 83 [menuItem setAction:@selector(executeMenuItem:)]; 86 [menu insertItem:menuItem
|
/external/qemu/distrib/sdl-1.2.15/src/main/macosx/ |
D | SDLMain.m | 107 NSMenuItem *menuItem; 114 while ((menuItem = [enumerator nextObject])) 116 aRange = [[menuItem title] rangeOfString:@"SDL App"]; 118 [menuItem setTitle: [[menuItem title] stringByReplacingRange:aRange with:appName]]; 119 if ([menuItem hasSubmenu]) 120 [self fixMenu:[menuItem submenu] withAppName:appName]; 130 NSMenuItem *menuItem; 146 …menuItem = (NSMenuItem *)[appleMenu addItemWithTitle:@"Hide Others" action:@selector(hideOtherAppl… 147 [menuItem setKeyEquivalentModifierMask:(NSAlternateKeyMask|NSCommandKeyMask)]; 158 menuItem = [[NSMenuItem alloc] initWithTitle:@"" action:nil keyEquivalent:@""]; [all …]
|
/external/chromium/chrome/browser/ui/cocoa/wrench_menu/ |
D | menu_tracked_root_view_unittest.mm | 28 id menuItem = [OCMockObject mockForClass:[NSMenuItem class]]; 29 [[[menuItem stub] andReturn:menu] menu]; 31 [view_ setMenuItem:menuItem]; 44 [menuItem verify];
|
D | menu_tracked_root_view.h | 21 @property(assign, nonatomic) NSMenuItem* menuItem;
|
/external/webkit/Source/WebKit2/UIProcess/mac/ |
D | WebContextMenuProxyMac.mm | 143 …NSMenuItem* menuItem = [[NSMenuItem alloc] initWithTitle:nsStringFromWebCoreString(items[i].title(… 144 [menuItem setTag:items[i].action()]; 145 [menuItem setEnabled:items[i].enabled()]; 146 [menuItem setState:items[i].checked() ? NSOnState : NSOffState]; 150 [menuItem setRepresentedObject:wrapper]; 154 result.append(RetainPtr<NSMenuItem>(AdoptNS, menuItem)); 165 …NSMenuItem* menuItem = [[NSMenuItem alloc] initWithTitle:nsStringFromWebCoreString(items[i].title(… 166 [menuItem setEnabled:items[i].enabled()]; 167 [menuItem setSubmenu:menu]; 170 result.append(RetainPtr<NSMenuItem>(AdoptNS, menuItem));
|
D | WebPopupMenuProxyMac.mm | 69 NSMenuItem *menuItem = [m_popup.get() lastItem]; 86 [menuItem setAttributedTitle:string.get()]; 87 [menuItem setEnabled:items[i].m_isEnabled]; 88 [menuItem setToolTip:nsStringFromWebCoreString(items[i].m_toolTip)];
|
/external/webkit/Source/WebCore/bindings/js/ |
D | JSInspectorFrontendHostCustom.cpp | 110 …ContextMenuItem* menuItem = new ContextMenuItem((typeString == "checkbox" ? CheckableActionType : … in showContextMenu() local 112 menuItem->setEnabled(enabled.toBoolean(exec)); in showContextMenu() 114 menuItem->setChecked(checked.toBoolean(exec)); in showContextMenu() 115 items.append(menuItem); in showContextMenu()
|
/external/webkit/Source/WebCore/bindings/v8/custom/ |
D | V8InspectorFrontendHostCustom.cpp | 97 …ContextMenuItem* menuItem = new ContextMenuItem((typeString == "checkbox" ? CheckableActionType : … in showContextMenuCallback() local 99 menuItem->setChecked(checked->ToBoolean()->Value()); in showContextMenuCallback() 101 menuItem->setEnabled(enabled->ToBoolean()->Value()); in showContextMenuCallback() 102 items.append(menuItem); in showContextMenuCallback()
|
/external/webkit/Source/WebKit/mac/DefaultDelegates/ |
D | WebDefaultContextMenuDelegate.mm | 57 NSMenuItem *menuItem = [[[NSMenuItem alloc] init] autorelease]; 58 [menuItem setTag:tag]; 59 [menuItem setTarget:target]; // can be nil 60 [menuItem setRepresentedObject:representedObject]; 108 [menuItem setTitle:title]; 110 [menuItem setAction:action]; 112 return menuItem;
|
/external/chromium/chrome/browser/sync/ |
D | sync_ui_util_mac.mm | 35 NSMenuItem* menuItem = [menu itemAtIndex:(syncItemIndex + 1)]; 36 if ([menuItem isSeparatorItem]) { 37 followingSeparator = menuItem;
|
/external/webkit/Tools/MiniBrowser/mac/ |
D | AppDelegate.m | 169 - (BOOL)validateMenuItem:(NSMenuItem *)menuItem 171 if ([menuItem action] == @selector(setSharedProcessProcessModel:)) 172 …[menuItem setState:_currentProcessModel == kProcessModelSharedSecondaryProcess ? NSOnState : NSOff… 173 else if ([menuItem action] == @selector(setSharedThreadProcessModel:)) 174 …[menuItem setState:_currentProcessModel == kProcessModelSharedSecondaryThread ? NSOnState : NSOffS…
|
/external/chromium/webkit/glue/ |
D | webmenurunner_mac.mm | 66 NSMenuItem* menuItem = [menu_ addItemWithTitle:title 69 [menuItem setEnabled:(item.enabled && item.type != WebMenuItem::GROUP)]; 70 [menuItem setTarget:self]; 101 [menuItem setAttributedTitle:attrTitle]; 103 [menuItem setTag:[menu_ numberOfItems] - 1];
|
/external/webkit/Source/WebCore/platform/mac/ |
D | PopupMenuMac.mm | 120 NSMenuItem *menuItem = [m_popup.get() lastItem]; 121 [menuItem setAttributedTitle:string]; 122 [menuItem setEnabled:client()->itemIsEnabled(i)]; 123 [menuItem setToolTip:client()->itemToolTip(i)]; 130 …[menuItem accessibilitySetOverrideValue:accessibilityOverride forAttribute:NSAccessibilityDescript…
|
/external/chromium/chrome/browser/ui/cocoa/extensions/ |
D | extension_action_context_menu.mm | 127 - (void)dispatch:(id)menuItem; 242 - (void)dispatch:(id)menuItem { 247 NSMenuItem* item = (NSMenuItem*)menuItem; 319 - (BOOL)validateMenuItem:(NSMenuItem*)menuItem { 320 if([menuItem isEqualTo:inspectorItem_.get()]) {
|