Home
last modified time | relevance | path

Searched refs:menuItem (Results 1 – 25 of 43) sorted by relevance

12

/external/webkit/Source/WebCore/platform/win/
DContextMenuWin.cpp92 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/
DContextMenuHaiku.cpp90 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/
DSDLMain.m107 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;
147menuItem = (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/
DSDLMain.m107 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;
147menuItem = (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/
DSDLMain.m107 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;
147menuItem = (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/
DSDLMain.m107 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;
147menuItem = (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/
DSDLMain.m107 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;
147menuItem = (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/
DSDLMain.m107 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;
147menuItem = (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/
DSDLMain.m107 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;
147menuItem = (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/
DSDLMain.m107 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;
147menuItem = (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/
DSDLMain.m107 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;
147menuItem = (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/
Dback_forward_menu_controller.mm68 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/
DSDLMain.m107 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;
146menuItem = (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/
Dmenu_tracked_root_view_unittest.mm28 id menuItem = [OCMockObject mockForClass:[NSMenuItem class]];
29 [[[menuItem stub] andReturn:menu] menu];
31 [view_ setMenuItem:menuItem];
44 [menuItem verify];
Dmenu_tracked_root_view.h21 @property(assign, nonatomic) NSMenuItem* menuItem;
/external/webkit/Source/WebKit2/UIProcess/mac/
DWebContextMenuProxyMac.mm143 …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));
DWebPopupMenuProxyMac.mm69 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/
DJSInspectorFrontendHostCustom.cpp110 …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/
DV8InspectorFrontendHostCustom.cpp97 …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/
DWebDefaultContextMenuDelegate.mm57 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/
Dsync_ui_util_mac.mm35 NSMenuItem* menuItem = [menu itemAtIndex:(syncItemIndex + 1)];
36 if ([menuItem isSeparatorItem]) {
37 followingSeparator = menuItem;
/external/webkit/Tools/MiniBrowser/mac/
DAppDelegate.m169 - (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/
Dwebmenurunner_mac.mm66 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/
DPopupMenuMac.mm120 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/
Dextension_action_context_menu.mm127 - (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()]) {

12